By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,278 Members | 1,518 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,278 IT Pros & Developers. It's quick & easy.

Restore utility ignores USER clause?

P: n/a
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_symbolsUSI NG ... 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_symbolsand preform the same
restore command - it works.
Why?
USER clause ignored by this utility?

Sincerely,
Mark B.

Sep 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.