473,724 Members | 2,290 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 1201

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

Similar topics

2
10606
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
10294
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
14012
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
11519
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
4184
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
3674
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
1483
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 process of restore stops after the first retrieval of data (4096 bytes). This data looks the same...
0
1368
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
4433
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
8868
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
9243
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
9160
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,...
1
6689
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5996
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
4504
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3210
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2613
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2149
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.