Script to restore a database
This sample restores a database that is called pubs, based upon the following backup:
NBIMAGE "cadoo.MSSQL7.CADOO\SECOND.db.pubs.~.7.001of001.20140628123631..C"
To find out which backups you can restore, look at the dbclient log file created when you did the backup or by use bplist.
OPERATION RESTORE OBJECTTYPE DATABASE DATABASE "pubs" # The following image is type: Full NBIMAGE "cadoo.MSSQL7.CADOO\SECOND.db.pubs.~.7.001of001.20140628123631..C" SQLHOST "CADOO" SQLINSTANCE "SECOND" NBSERVER "CHISEL" BROWSECLIENT "CADOO" MAXTRANSFERSIZE 6 BLOCKSIZE 7 RESTOREOPTION REPLACE RECOVEREDSTATE RECOVERED ENDOPER TRUE
More Information