Skip to Content
0
Jan 12, 2012 at 04:45 PM

Redirect restore script error

258 Views

Dear Experts,

i am crating redirect restore script using below command.

ho-sndbx:db2hsb 3> brdb6brt -s HSB FROM /backup/hsbbackup -bm RETRIEVE -ts 20111231122210 -replace HSQ=HSB,dbhsq=db2hsb,/db2hsb=/db2/hsq

**************************************************************

BACKUP DATABASE &

RETRIEVE TABLESPACE AND CONTAINER INFORMATION &

CHECK REDIRECT RESTORE SCRIPT

**************************************************************

Invalid flag specified: FROM

ho-sndbx:db2hsb 4>

can any one suggest me what is the wrong with the command

now again when i went to the location where backup is stored ..ts working fine

see the out put

ho-sndbx:db2hsb 6> pwd

/backup1/hsbbackup

ho-sndbx:db2hsb 7> brdb6brt -s HSB -bm RETRIEVE -ts 20111231122210 -replace HSQ=HSB,dbhsq=db2hsb,/db2hsb=/db2/hsq

**************************************************************

BACKUP DATABASE &

RETRIEVE TABLESPACE AND CONTAINER INFORMATION &

CHECK REDIRECT RESTORE SCRIPT

**************************************************************

  • RETRIEVING OF TABLESPACE AND CONTAINER INFORMATION

  • TIME FOR RETRIEVING = 0 sec = 0 hours . 0 min . 0 sec

  • RETRIEVING FINISHED SUCCESSFULLY

Data of database HSB saved to file -- ./HSB_NODE0000.scr --

REGION behind is.... we are actually using netbackup as backup tool. so i can not go to the nebackup path in the backup library..

please suggest.

Thanks

Sadiq