Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How to do a database backup in DB2 in Vista?

Whenever I issued this command (login in Vista as Administrator):

restore database myDB from D: taken at 20081013134446

the command line processor return the following error message:

SQL1092N  "ADMINISTRATOR" does not have the authority 
to perform the requested command.  SQLSTATE=00000

So, How can I solve this problem?

share|improve this question
add comment

1 Answer

You are attempting to run the restore command as user that does not have enough priviledges. Probably easiest solution for you would be to use the SYSADM priviledges.

First, check under which account the DB2 services are running. If the answer is SYSTEM, please change that into something sensible (for instance Administrator) from Services (you can find it in Control Panel). Then restart the services.

After that log in using that user account, and the restore command will work.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.