Share via

Restore database

sql test 60 Reputation points
2023-06-30T00:21:35.5533333+00:00

Is it possible to restore the database from SQL Server 2019 to SQL Server 2017?

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

Answer accepted by question author

LiHongMSFT-4306 31,621 Reputation points
2023-06-30T03:11:28.9933333+00:00

Hi @sql test

SQL Server checks the version of the database when restoring and does not allow you to restore a database from a newer version of SQL Server to an older version of SQL Server.

However, you could use the Import/Export wizards in SSMS to migrate from 2019 to 2017.

Or an alternative: Clone the Database, using on local.

In the SSMS, right click on the database to export, then Tasks => Export Data-tier Application it creates a bacpac file.

Copy the backpac to the distant server, and there in SSMS, right click on the "Databases" folder and then Import Data-tier Application, use the copied backpac file.

It copies the schema and the data as well.

Referring from this thread: Clone a database from SQL Server 2019 to 2017

Best regards,

Cosmog Hong


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 47,621 Reputation points
    2023-06-30T04:50:58.15+00:00

    Is it possible to restore the database from SQL Server 2019 to SQL Server 2017?

    Absolutley not, databases are not backward compatible, it's impossible to restore a backup of a newer version (2019) to an older one (2017).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.