Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Can you restore sql server 2012 to sql server 2017?


Asked by Abby Camacho on Dec 12, 2021 SQL



Although you cannot restore a database from a SQL Server 2017 instance to an earlier version of Analysis Services, it is common practice to restore an older version database, such as SQL Server 2012, on a newer SQL Server 2017 instance. Restore location must be the same server type.
Additionally,
For SQL Server 2017, you can therefore restore databases from SQL Server 2008 to 2017. SQL Server, however, is not forward compatible. Once a database is restored on a more recent version of SQL Server you cannot create a back up of that database and restore it to an older version; even if the database had the correct compatibility setting.
Indeed, Restore a SQL Server 2005 (9.x) database to SQL Server 2017 (14.x) instance of database engine from a backup. Back up a SQL Server 2005 Analysis Services (SSAS) cube and restore it on SQL Server 2017 (14.x). When a SQL Server 2005 (9.x) database is upgraded to SQL Server 2017 (14.x), the database compatibility level will be changed from 90 to 100.
One may also ask,
You aren't doing anything wrong. You cannot take a backup from a newer version of SQL Server and restore it to an older version. This is true, even though SQL Server Management Studio obviously appears to recognize the backup, like so:
In this manner,
The database is too large to restore to SQL Server 2016 Express Edition. The maximum database size is 10GB. I would need Enterprise or Standard. You cannot restore a SQL 2016 database to a SQL 2012 server.