How can we help you today? How can we help you today?
zynrg
Thanks Petey for your reply. I don't think it's a file-related issue because I have tried a couple of files. RESTORE FILELISTONLY works, but RESTORE VERIFYONLY and RESTORE SQBHEADERONLY don't work as well as HEADERONLY. BTW, currently, I'm using 5.2 version for SQL 2005. Here are some results: --===============================================================-- declare @sql varchar(max) set @sql = '-SQL "Restore verifyonly from disk = ''E:\Backup_A\FULL_(local)_master_20071203_234212.sqb''"' exec master.dbo.sqlbackup @... SQL Backup v5.2.0.2807 Verifying file: E:\Backup_A\FULL_(local)_master_20071203_234212.sqb Attempting to restore this backup may encounter storage space problems. Subsequent messages will provide details. Directory lookup for the file "D:\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf" failed with the operating system error 3(The system cannot find the path specified.). Directory lookup for the file "D:\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf" failed with the operating system error 3(The system cannot find the path specified.). The backup set on file 1 is valid. SQL Backup process ended. (10 row(s) affected) name value exitcode 0 sqlerrorcode 0 filename001 E:\Backup_A\FULL_(local)_master_20071203_234212.sqb (3 row(s) affected) --===============================================================-- --===============================================================-- declare @sql varchar(max) set @sql = '-SQL "Restore headeronly from disk = ''E:\Backup_A\FULL_(local)_master_20071203_234212.sqb''"' exec master.dbo.sqlbackup @... SQL Backup v5.2.0.2807 Reading file header of "E:\Backup_A\FULL_(local)_master_20071203_234212.sqb" Backup name : Database (master), 12/3/2007 11:42:12 PM Description : Backup on 12/3/2007 11:42:12 PM Server: CTESDTSS Database: master Backup type : 1 (Database) User name : CTESDTSS\osun Backup start : 12/3/2007 11:42:13 PM Backup finish: 12/3/2007 11:42:13 PM Server name : CTESDTSS Database name : master Database version : 611 Creation date : 11/14/2007 6:24:11 PM Size : 3.313 MB Sort order : 52 Code page : 0 Machine name : CTESDTSS Collation : SQL_Latin1_General_CP1_CI_AS First LSN : 432000000003200037 Last LSN : 432000000005600001 Checkpoint LSN : 432000000003200037 Database backup LSN : 431000000019200037 Differential base LSN : NULL SQL Backup process ended. (28 row(s) affected) name value exitcode 0 sqlerrorcode 0 filename001 E:\Backup_A\FULL_(local)_master_20071203_234212.sqb (3 row(s) affected) --===============================================================-- --===============================================================-- declare @sql varchar(max) set @sql = '-SQL "Restore sqbheaderonly from disk = ''E:\Backup_A\FULL_(local)_master_20071203_234212.sqb''"' exec master.dbo.sqlbackup @... SQL Backup v5.2.0.2807 Reading SQB file header of "E:\Backup_A\FULL_(local)_master_20071203_234212.sqb" Backup group ID : 100457965 File number : 1 of 1 Backup type : 1 (Database) Native backup size : 3.688 MB Database size : 5.000 MB Backup start : Monday, December 03, 2007 11:42:13 PM Backup end : Monday, December 03, 2007 11:42:13 PM Server name : CTESDTSS Database name : master First LSN : 432000000003200037 Last LSN : 432000000005600001 Checkpoint LSN : 432000000003200037 Database backup LSN : 431000000019200037 (20 row(s) affected) name value exitcode 0 sqlerrorcode 0 filename001 E:\Backup_A\FULL_(local)_master_20071203_234212.sqb (3 row(s) affected) --===============================================================-- / comments
Thanks Petey for your reply. I don't think it's a file-related issue because I have tried a couple of files. RESTORE FILELISTONLY works, but RESTORE VERIFYONLY and RESTORE SQBHEADERONLY don't work ...
0 votes