Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import MSSQL database dump from Plesk into local MS SQL server?

I have a plesk acount and an MS SQL database from wich I got a dump through this interface they provide:

enter image description here

So I downloaded the dump file but it does not come as a .txt file but it comes without any extension and when I try to import it in my local MS SQL Server it fails always.

enter image description here

And when I try to open the dump file with notepad it shows weird characters(see picture below).

What am I doing wrong ?

enter image description here

like image 711
Xsmael Avatar asked Jan 07 '19 09:01

Xsmael


1 Answers

I got it to work by extracting the dump file from the zip and renaming it with a .bak extension. Then did a Database restore in MS SQL Management Studio and selected this backup file (.bak). Hope that helps.

like image 104
Adolfo E. Avatar answered Sep 18 '22 08:09

Adolfo E.