Added the Database backup script
This commit is contained in:
parent
b1a9d2daae
commit
2b84c11107
3
Sql/Database Backup Script/Back.sql
Normal file
3
Sql/Database Backup Script/Back.sql
Normal 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
|
1
Sql/Database Backup Script/Backup.bat
Normal file
1
Sql/Database Backup Script/Backup.bat
Normal 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"
|
Loading…
Reference in New Issue
Block a user