Restore from older version issue
kermi
Posts: 47
Hi
It's my understanding that you can restore a backup created with any version of SQL Backup with SQL Backup 6. We have some customers that are running an older version 3.0. And we cannot restore their data that is sent to us. This is the following error we are getting.
ERRORS AND WARNINGS
9/16/2009 10:05:53 AM: Error: Rijndael: Invalid key size - 0
This is how we're creating the backup:
-SQLBackupC -SQL "BACKUP DATABASE [dbase] TO DISK = 'C:\data_directory\dbase01.sqb', DISK = 'C:\data_directory\dbase02.sqb',DISK = 'C:\data_directory\dbase03.sqb',DISK = 'C:\data_directory\dbase04.sqb' WITH COMPRESSION = 3, PASSWORD = 'XXXXXXX', VERIFY"
and we are restoring with the following script
-SQL "RESTORE DATABASE [dbase] FROM DISK = 'D:\backup_directory\dbase01.sqb', DISK = 'D:\backup_directory\dbase02.sqb', DISK = 'D:\backup_directory\dbase03.sqb', DISK = 'D:\backup_directory\dbase04.sqb' WITH RECOVERY, MOVE 'dbase_Data' TO 'D:\dbase\dbase.MDF', MOVE 'dbase_Log' TO 'D:\dbase\dbase_log.LDF', REPLACE, PASSWORD = 'XXXXXXXXXX', MAILTO = 'email@dbase.com'" -E
Any suggestions would be great
It's my understanding that you can restore a backup created with any version of SQL Backup with SQL Backup 6. We have some customers that are running an older version 3.0. And we cannot restore their data that is sent to us. This is the following error we are getting.
ERRORS AND WARNINGS
9/16/2009 10:05:53 AM: Error: Rijndael: Invalid key size - 0
This is how we're creating the backup:
-SQLBackupC -SQL "BACKUP DATABASE [dbase] TO DISK = 'C:\data_directory\dbase01.sqb', DISK = 'C:\data_directory\dbase02.sqb',DISK = 'C:\data_directory\dbase03.sqb',DISK = 'C:\data_directory\dbase04.sqb' WITH COMPRESSION = 3, PASSWORD = 'XXXXXXX', VERIFY"
and we are restoring with the following script
-SQL "RESTORE DATABASE [dbase] FROM DISK = 'D:\backup_directory\dbase01.sqb', DISK = 'D:\backup_directory\dbase02.sqb', DISK = 'D:\backup_directory\dbase03.sqb', DISK = 'D:\backup_directory\dbase04.sqb' WITH RECOVERY, MOVE 'dbase_Data' TO 'D:\dbase\dbase.MDF', MOVE 'dbase_Log' TO 'D:\dbase\dbase_log.LDF', REPLACE, PASSWORD = 'XXXXXXXXXX', MAILTO = 'email@dbase.com'" -E
Any suggestions would be great
Comments
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
ftp://ftp.red-gate.com/patches/SQL_Back ... 0_1002.zip
You would need to stop the SQL Backup Agent service prior to replacing the existing copy (I would suggest renaming it in case you need it next time), after ensuring that no backups/restores are currently running.
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I did have another ftp site given to me previously that is ftp://support.red-gate.com/Patches/SQL_Backup/ and I did find a SQB_6_2_0_1002.zip file dated 9/17. I guessed that was the one but I'm still getting the same error.
IIRC, SQL Backup 3 only offerred 1 level of encryption, which was 256-bit, and there was only 1 edition. There were no other encryption levels offered, hence no support for the KEYSIZE option.
Starting with version 4, there were 2 levels of encryption, 128-bit and 256-bit. The Lite ediion didn't allow encryption at all, Standard allowed 128-bit and Pro allowed 128-bit and 256-bits.
I've tested 6.2.0.1002 to restore an encrypted backup file created using 3.2, and it works fine. Could you send me the first 1024 bytes of the backup file in question? You can use the 'Extract file header' function in the SQL Backup test utility,which you can download from here:
ftp://support.red-gate.com/Patches/SQL_Backup/SBaTU.zip
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I tested on files that we are able to process using ver 6.0 and the utility works fine.
We are able to process these files using SQL Backup 5.4 without any problems, so I know that there is nothing wrong with those files. I just don't want to downgrade the software on this particular machine. I've restarted the SQL Backup service to see if that would help but it does not.
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
ftp://support.red-gate.com/Patches/SQL_ ... 0_1002.zip
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
http://www.red-gate.com/MessageBoard/vi ... 4766#34766
Could you please send me a sample back up file that was created using 3.2, but cannot be restored using 6.3?
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8