473,695 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Restore utility ignores USER clause?

Hello.

WinXP, SP2.
UDB DB2 v8.2.1.

I have done a backup of the sample database and try to restore it to
new (sample2) database on the same server and instance.
I have an environment variable
DB2_EXTSECURITY =YES
I logged on my machine with not SYSADM account (say MARKB) and try to
do this:
---
db2 restore db sample USER
<account_with_s ysadm_auth_less _then_8_symbols USING ... from
e:\db2backup into sample2 newlogpath e:\db2logs redirect without
rolling forward
---
And get SQL1092 with message that "MARKB" does not have authority to
perform requested command.
But when I logon in OS as this
<account_with_s ysadm_auth_less _then_8_symbols and preform the same
restore command - it works.
Why?
USER clause ignored by this utility?

Sincerely,
Mark B.

Sep 20 '06 #1
0 1367

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10604
by: Moti.Ba | last post by:
Hello, I need to restore the Master DB in my SQL 2k server (with sp3). The problem is that i don't have SQL backups of this file I only have general backup of the entire c:\ drive i made using NTBackup. So i tried all I know and succesfully run the rebuildm utility. Now when I try to restore it from the general backup (not SQL backup) using "restore database master from gen_backup" i got error: "The file on device 'gen_backup' is not a...
1
10262
by: Vikrant | last post by:
Hi Kelly This is from old response by you. What is 'callerac' parameter in REDIRECTED restore, how can I provide 'callerac' value ? Thanks, VKG =====
9
13996
by: GL | last post by:
I am running DB2 8.1.1 on AIX 5.1 Having a problem with a redirected restore. Once into the restore continue phase, I immediately get the following “SQL2059W A device full warning was encountered on device "TBS_IDX". Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t) t
3
11515
by: cefrancke | last post by:
The only reason I ask is that no one has made this subject clear or given a definitive answer. What I would like to do is, after turning off all the menus/tbars/etc using the startup options. Upon restarting Access, when an admin is detected (I use a GetSystemUser() function) I want to restore everything so that Access behaves like normal, ie. all menus/tbars/etc show up (only where they are supposed to show up).
2
4179
by: P. Adhia | last post by:
Hello All, I am trying to redirect-restore a backup of a DB2 V6.x system (AIX 4.x) on DB2 V8.2 system (AIX 5.2). I get the above error with no other details. db2diag.log has a series of error messages, starting with following message - 2006-01-07-14.24.57.173819-300 I4955C325 LEVEL: Error PID : 34928 TID : 1 PROC : db2med.30074.0 0
6
3671
by: Raj | last post by:
How can we do an online restore of a tablespace using the incremental backup's? we are on a partitioned database... Also, how could we use backup copy made by the load (using the copy to option in load) to revover the tablespace? Thanks, Raj
0
1201
by: 4.spam | last post by:
Hello. WinXP, SP2. UDB DB2 v8.2.1. I have done a backup of the sample database and try to restore it to new (sample2) database on the same server and instance. I have an environment variable DB2_EXTSECURITY=YES I logged on my machine with not SYSADM account (say MARKB) and try to
0
1251
by: moha | last post by:
hi all I tried to restore database using db2 but it fails and gives me this error : SQL2036N The path for the file or device "G:\ORDERSDB.0.DB2.NODE0000.CATN0000.20070201100648.001" is not valid. Explanation: The application calling the utility has supplied a source or target path that is not valid. The path or device specified may
2
4425
by: Kofa | last post by:
Dear All, I'd like to know whether it is possible to restore backups created on a production machine, running DB2 9.1 on Windows, using DMS table space containers, onto a developer's machine, also running DB2 9.1 or 9.5 on Windows in a way that does not require the use of DMS table space containers. The reason is that on the production machine, where we wanted to obtain the highest possible performance, user and temp tablespaces
0
8623
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9113
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8976
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8830
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8820
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5837
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2265
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.