Added the Database backup script
This commit is contained in:
parent
b1a9d2daae
commit
2b84c11107
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
sqlcmd -U sa -P 123456 -S . -d Pets -i "C:\Users\tanshu\Programming\Back.sql" >> "C:\Users\tanshu\Programming\backup.log"
|
Loading…
Reference in New Issue