Error: Failed to read file list from backup file.
MarkJ
Posts: 16
I notice this error has already been reported but I see no resolution to it.
I run the command exec master..sqlbackup '-sql "RESTORE FILELISTONLY FROM DISK = [<file name>]"' and get no results. I am trying to restore a file from the pro version of 4.1 to a standard version of 4.1. This file has sucessfully been previously restored in the production environment. Now I want to restore the data in our dev environment.
I run the command exec master..sqlbackup '-sql "RESTORE FILELISTONLY FROM DISK = [<file name>]"' and get no results. I am trying to restore a file from the pro version of 4.1 to a standard version of 4.1. This file has sucessfully been previously restored in the production environment. Now I want to restore the data in our dev environment.
Comments
instead?
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Reading SQB file header of "C:\Data\Backup\abackup.sqb" Error 560: File does not exist: C:\Data\Backup\abackup.sqb
There are seven database files within this backup
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
master..sqlbackup '-sql "BACKUP DATABASE model TO DISK = [C:\Data\Backup\model.sqb]"'
master..sqlbackup '-sql "RESTORE FILELISTONLY FROM DISK = [C:\Data\Backup\model.sqb]"'
Also, does your file name contain unicode characters? If so, you need to use the N qualifier e.g.
exec master..sqlbackup N'-sql "RESTORE FILELISTONLY FROM DISK = [<file name>]"'
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
If it's on step 3, the GUI is running the RESTORE FILELISTONLY command only, not actually restoring the file.
If you want to use the WITH MOVE option, on step 3 of the REstore Wizard, click on the 'Database files' button.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
If I ignore the message and proceed the restore fails. I can convert the backup to MTF and restore it to a new server as normal.
Bryan Lane
sqlbackup '-sql "RESTORE FILELISTONLY FROM DISK = [<file name>]"'
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8