Quantcast
Channel: Symantec Connect - Backup and Recovery - Discussions
Viewing all articles
Browse latest Browse all 5847

backup and restore issues

$
0
0
I need a solution

Dear sysmantec team:

What is the difference from the process of database backup & restore? as i know, for database backup operation on media server,the bptm child process receives the image and stores it block by block into a shared memory segment on the media server,then the parent bptm process retrieves the image from shared memory and directs it block by block to the allocated storage media.for database restore operation on media server,the parent bptm process reads data from the media or disk and delivers it to shared memory block by block,then the child bptm process delivers the data to the tar process on the client system, which writes the data to the client disk.

So i make a script to test the above that mentioned.

The backup script is as follow:

OPERATION BACKUP
DATABASE "SAPDATA"
SQLHOST "SIH-SQLDB"
NBSERVER "SIH-NETBACKUP"
STRIPES 3
MAXTRANSFERSIZE 6
BLOCKSIZE 7
POLICY SAPDATA_FULL
BROWSECLIENT "SIH-SQLDB"
NUMBUFS 2
ENDOPER TRUE

Result:Successful.

Then i change the script for restore as follow:

OPERATION RESTORE
OBJECTTYPE DATABASE
DATABASE "SAPDATA"
# The following image is type: Full
NBIMAGE "SIH-SQLSRV1.MSSQL7.SIH-SQLDB.db.SAPDATA.~.7.001of003.20140329221029..C"
SQLHOST "SIH-SQLDB"
NBSERVER "SIH-NETBACKUP"
STRIPES 003
BROWSECLIENT "SIH-SQLDB"
MAXTRANSFERSIZE 6
BLOCKSIZE 7
RESTOREOPTION REPLACE
RECOVEREDSTATE RECOVERED
NUMBUFS 2
ENDOPER TRUE

Result:Failed

Then i change the restore script to try again

OPERATION RESTORE
OBJECTTYPE DATABASE
DATABASE "SAPDATA"
# The following image is type: Full
NBIMAGE "SIH-SQLSRV1.MSSQL7.SIH-SQLDB.db.SAPDATA.~.7.001of003.20140329221029..C"
SQLHOST "SIH-SQLDB"
NBSERVER "SIH-NETBACKUP"
BROWSECLIENT "SIH-SQLDB"
BLOCKSIZE 7
RESTOREOPTION REPLACE
RECOVEREDSTATE RECOVERED
NUMBUFS 2
ENDOPER TRUE

Result:Successful

Now,why backup operation is successful and restore operation is failed while using stripes 003 and maxtransfersize 6?

 

 

 

 


Viewing all articles
Browse latest Browse all 5847

Trending Articles