This commit is contained in:
tanshu 2016-01-18 16:16:46 +05:30
commit 2c206b059a
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
BACKUP DATABASE [Pets] TO DISK = N'C:\Users\tanshu\Programming\Pets.bak' WITH DIFFERENTIAL,
NOFORMAT, NOINIT, NAME = N'Pets-Differential Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10
GO

View File

@ -0,0 +1 @@
sqlcmd -U sa -P 123456 -S . -d Pets -i "C:\Users\tanshu\Programming\Back.sql" >> "C:\Users\tanshu\Programming\backup.log"