forked from LosaDev/ls-2019-source
Add database setup (LosaGame, LosaGame_log, LosaLogData, Backup, backup/restore) and the tested one-PC server config
This commit is contained in:
1 parent
c198676e97
commit
17e8463b49
243 files changed
+1405092
No files matched your search
@@ -0,0 +1,9 @@
|
||||
@echo off
|
||||
rem LosaDev 2019: backup.bat [folder] [server] (defaults: D:\LosaBackup, .\SQLEXPRESS)
|
||||
setlocal
|
||||
set DIR=%~1
|
||||
if "%DIR%"=="" set DIR=D:\LosaBackup
|
||||
set SRV=%~2
|
||||
if "%SRV%"=="" set SRV=.\SQLEXPRESS
|
||||
if not exist "%DIR%" mkdir "%DIR%"
|
||||
sqlcmd -S "%SRV%" -E -b -v BACKUP_DIR="%DIR%" -i "%~dp0backup.sql"
|
||||
Reference in new issue
Block a user