Converted native backup and 3rd party apps
mrclod
Posts: 60
I recently converted some .sqb files to native backup format. That worked fine, however, I am finding 3rd party applications such as a log reader could not open the files claiming multiple errors.
Used sqb2mtf and SQBConverterGUI, but same result.
Any other ways to convert these?
Used sqb2mtf and SQBConverterGUI, but same result.
Any other ways to convert these?
Comments
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Is there another way to convert these so that a log reader tool can be used on these files?
Appears that the files may be compliant on mtf, but not fully compliant?
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
So the latter appears in line. Both ApexSQL and Quest Toad claim to be MTF compliant.
Here is an example of our full backup:
EXECUTE master..sqlbackup '-SQL "BACKUP DATABASES [master,model,msdb,db_maintenance]
TO DISK = ''NEW_LOCAL:\BACKUPS\<database>\<AUTO>.sqb''
WITH ERASEFILES_ATSTART = 7,
ERASEFILES_REMOTE = 95,
FILEOPTIONS = 4,
PASSWORD = ''<ENCRYPTEDPASSWORD></ENCRYPTEDPASSWORD>'',
DISKRETRYINTERVAL = 30,
DISKRETRYCOUNT = 10,
COMPRESSION = 3,
COPYTO = ''\\copy\DatabaseBackups\<database>\'',
INIT,
KEYSIZE = 256,
THREADCOUNT = 3,
VERIFY"'
Example of our log backup:
EXECUTE master..sqlbackup '-SQL "BACKUP LOG [model]
TO DISK = ''NEW_LOCAL:\BACKUPS\<database>\<AUTO>.sqb''
WITH ERASEFILES_ATSTART = 7,
ERASEFILES_REMOTE = 35,
FILEOPTIONS = 4,
PASSWORD = ''<ENCRYPTEDPASSWORD></ENCRYPTEDPASSWORD>'',
DISKRETRYINTERVAL = 30,
DISKRETRYCOUNT = 10,
COMPRESSION = 3,
COPYTO = ''\\copy\DatabaseBackups\<database>\'',
INIT,
KEYSIZE = 256,
THREADCOUNT = 3,
VERIFY"'
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
So getting somewhere with Quest Toad.
Now what is the next step to get the converted backup to work?
Best guess is that the Toad/ApexSQL expects a BLOCKSIZE of 512, not 65536 as used by SQL Backup, as 512 is the default size used by SQL Backup.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Now the potential difference I do see is that after conversion, I get multiple files (multiple threads used to get the backup) and that is what may not be liked by any of the tools.
I will test that using a single thread, but is there anyway for convert to create a single file?
The only difference is that SQL Backup combines the contents of the 2 backup devices into a single file. Thus, when converted back to MTF format, 2 files will be created. SQL Server expects the backup set to be on 2 files.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8