This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker exec -it sql1 mkdir /var/opt/mssql/backup | |
docker cp "C:\wwi.bak" sql1:/var/opt/mssql/backup |
sql1 is the SQL Server instance name
These commands will copy the ".bak" file into "/var/opt/mssql/backup" directory. You can use the "Restore Database" option in the SQL Server Management Studio to restore the database
Comments
Post a Comment