1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00
Files
sql-server-samples/samples/databases/wide-world-importers/wwi-dw-database-scripts/8-wwi-dw-backup.sql
2016-05-25 13:44:41 -07:00

8 lines
698 B
Transact-SQL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Create a full backup of the database. Substitute the path 'C:\YourFolder' with the target location of the backup.
BACKUP DATABASE [WideWorldImportersDW]
TO DISK = N'C:\YourFolder\WideWorldImportersDW.bak'
WITH FORMAT, INIT, NAME = N'WideWorldImportersDW-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, COMPRESSION, STATS = 10;
GO