473,563 Members | 2,668 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 1193

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

Similar topics

2
10597
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...
1
10153
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
13964
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
11486
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...
2
4172
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 ...
6
3663
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
1
1477
by: pukuri | last post by:
Hi, now we have some troubles with restoring a db with the vendor apis of the backup and restore utility. We upgraded from db2 version 7 to version 8.2 (windows 2000 environment). We recompiled the sources (without the need of any changes) and after that we get the sqlcode -2570 if we try to restore. The vendor utility is written in C. The...
0
1362
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
1239
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...
2
4421
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...
0
7659
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...
0
7580
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...
0
7882
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. ...
0
8103
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...
1
7634
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...
0
7945
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...
0
3618
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.