Interoperability
DanMoran
Posts: 14
Can I backup a Compatability Level 9 DB from a 2008 SQL Server, using SQL Backup, and restore it as is to a SQL Server 2005 box?
Comments
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
1/ With Compression ON, you can backup a DB on a newer version of SQL and restore it to an older version of SQL ?
(Assuming you aren't using any new SQL features that aren't available in the older version).
AND
2/ With Compression OFF, you can't backup a DB on a newer version of SQL and restore it on to an older version of SQL.
I'm currently using SQL Backup ver 6.4.0.56, and can't restore a compressed DB backup from SQL 2005 to 2000. This clearly conflicts with statement 1/, but I'm guessing I am missing or misunderstanding some information here.
When you back up a SQL Server database, the backup data is stored in, let's call it, format A. When SQL Backup compresses the data, it takes this same data, in format A, and compresses/encrypts it, to let's call it format B. When you restore the database, SQL Backup uncompresses/decrypts the data in format B, back to format A, and passes that back to SQL Server, which happily works with format A, because that's the only format it recognises.
SQL Backup only ever passes the original format of the backup data to SQL Server, and it will be up to the user to ensure that the correct SQL Server version is used when restoring. Thus, you can never use SQL Backup to restore a database that was backed up on a newer version of a SQL Server instance.
Hope that's a better explanation.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8