Unix Technical Forum

Restore utility ignores USER clause?

This is a discussion on Restore utility ignores USER clause? within the DB2 forums, part of the Database Server Software category; --> Hello. WinXP, SP2. UDB DB2 v8.2.1. I have done a backup of the sample database and try to restore ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:16 AM
4.spam@mail.ru
 
Posts: n/a
Default 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_sysadm_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_sysadm_auth_less_then_8_symbols> and preform the same
restore command - it works.
Why?
USER clause ignored by this utility?

Sincerely,
Mark B.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com