Created
February 17, 2019 07:11
-
-
Save digital-old-school-journey/7d4528160afdea9ebf01e068161496c9 to your computer and use it in GitHub Desktop.
SQL Command to RESTORE AdventureWorks2012 ON Linux container
This file contains hidden or 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
| RESTORE DATABASE AdventureWorks2012 | |
| FROM DISK= '/var/opt/mssql/AdventureWorks2012.bak' | |
| WITH MOVE 'AdventureWorks2012' TO '/var/opt/mssql/data/AdventureWorks2012.mdf', | |
| MOVE 'AdventureWorks2012_Log' TO '/var/opt/mssql/data/AdventureWorks2012.ldf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment