Thanks all for your guides, But all posts are related to "Perform a database move" (create move template), which have to edit script.
We are interested in "Redirect a restore to a remote host". (We also surprise that there is not much topic about redirecting restore, in other hand, many topics are talking about create template move to achieve the goal to restore DB to another host). We have configure:
1. Add a blank file at : F:\Netbackup_System\db\altnames (we redirect catalog images to this folder other than the system partition), file name: No.Restrictions
2. Add host A as a server in Properties of host B [in Host Properties --> Clients]
our issue's symtom is exactly the same a the issue in the following link:
https://www-secure.symantec.com/connect/forums/sql-server-2005-restore-fails
But in our environment, We do not have any miss-match in NBU version, all are 7.0.
NBU server: Windows 2008 R2, catalog images redirected to different drive other than system drive C.
SQL server: Windows 2008 x64 with NBU 7 client agent.
Here are the logs:
INF - RESTORE STARTED USING
Microsoft SQL Server 2005 - 9.00.4028.00 (Intel X86)
Oct 20 2008 19:45:04
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Batch = C:\Program Files\Veritas\NetBackup\dbext\mssql\temp\__14_50_22_403_00.bch, Op# = 1.
INF - Using backup image PMSSDBS02.MSSQL7.PMSSDBS02.db.ThangDB.~.7.001of001.20100823144559..C
INF - restore database "ThangDB" from VIRTUAL_DEVICE='VNBU0-7816-7940-1282549824' with stats = 10, blocksize = 65536, maxtransfersize = 4194304, buffercount = 2, replace , norecovery
INF - Number of stripes: 1, Number of buffers per stripe 2.
INF - Created VDI object for SQL Server instance <SMSSDBS04>. Connection timeout is <300> seconds.
Restore started Mon Aug 23 14:50:25 2010
ERR - Error in VxBSAGetObject: 3.
CONTINUATION: - System detected error, operation aborted.
ERR - Error in GetCommand: 0x80770004.
ERR - Error in VDS->Close: 0x8077000d.
CONTINUATION: - An abort request is preventing anything except termination actions.
CONTINUATION: - All devices are open
INF - OPERATION #1 of batch C:\Program Files\Veritas\NetBackup\dbext\mssql\temp\__14_50_22_403_00.bch FAILED with STATUS 1 (0 is normal). Elapsed time = 911(0) seconds.
INF - Results of executing <C:\Program Files\Veritas\NetBackup\dbext\mssql\temp\__14_50_22_403_00.bch>:
<0> operations succeeded. <1> operations failed.
OPERATION RESTORE
OBJECTTYPE DATABASE
DATABASE "ThangDB"
# The following image is type: Full
NBIMAGE "PMSSDBS02.MSSQL7.PMSSDBS02.db.ThangDB.~.7.001of001.20100823144559..C"
SQLHOST "SMSSDBS04"
NBSERVER "PMSSAPP27"
BROWSECLIENT "pmssdbs02"
MAXTRANSFERSIZE 6
BLOCKSIZE 7
RESTOREOPTION REPLACE
RECOVEREDSTATE RECOVERED
NUMBUFS 2
ENDOPER TRUE