Quote:
Originally posted by anil4321
Your restore command is correct. Looks like your ID does not belong to SYSADM or SYSCTRL privilege and it is not allowing you to restore to a new database. You might be having DBADM on the database.
If my assumption is not true then try the following command:
db2 "RESTORE DATABASE TCI FROM 'D:\DB2IMP\backup\db2\' TAKEN AT 20040109015232 TO 'D:' INTO TCI_0109 WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING"
|
No, the privs were ok, i was logged in as Db2Admin, which is in the Windows Administrator Group and DB2 Var "SYSADM_GROUP" was NULL, so that it takes the Administrator Group from Win32.
What is the difference of your command from mine?