on 02-11-2016 6:09 AM
Hi experts,
During database backup restore we are getting below error. already change in the script file.
db2PRD> db2 -tvsf PRD_NODE0000.scr
UPDATE COMMAND OPTIONS USING S ON Z ON PRD_NODE0000.out V ON
DB20000I The UPDATE COMMAND OPTIONS command completed successfully.
SET CLIENT ATTACH_NODE 0
DB20000I The SET CLIENT command completed successfully.
SET CLIENT CONNECT_NODE 0
DB20000I The SET CLIENT command completed successfully.
@./PRD_NODE0000.scr@
RESTORE DATABASE PRD FROM /DBbackup ,/DBbackup ,/DBbackup TAKEN AT 20151102074108 ON /db2/PRD/sapdata4 ,/db2/PRD/sapdata3 ,/db2/PRD/sapdata2 ,/db2/PRD/sapdata1 INTO PRD WITH 2 BUFFERS BUFFER 1024 REDIRECT
SQL1035N The operation failed because the specified database cannot be
connected to in the mode requested. SQLSTATE=57019
Regards,
Vivek
issued resolved after changed the script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek
Check below IBM detaisl
Re-issue the command.
For more information on the syntax of commands, and related topics, search the Information Center (http://publib.boulder.ibm.com/infocenter/db2luw/v9) using phrases such as "force application", "deactivate database", and "quiesce database".
IBM SQL1035N during execution of an offline backup - United States
IBM Offline database backup failing with SQL1035N - United States
db2 quiesce instance <inst_name> restricted access immediate force connections
db2 deactivate db <dbname>
db2 backup db <dbname>
db2 activate db <dbname>
db2 unquiesce instance <inst_name>
try above and send us more details like, which backup you are using sap and db version, Your backup script details,
Thanks
Sadiq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.