mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
Added DB dump batch file options to dump events and triggers as well as doing a quick (row level streaming) dump.
This commit is contained in:
@@ -19,7 +19,8 @@ c:
|
||||
cd %mysqldir%
|
||||
|
||||
@REM dump/backup ALL database, this is all in one line
|
||||
mysqldump -u %mysqluser% -p%mysqlpassword% --databases %mysqlschema% >%BackupDir%\%mysqlschema%_backup.%datestamp%.sql
|
||||
mysqldump -u %mysqluser% -p%mysqlpassword% --databases %mysqlschema% --routines --events --triggers --quick >%BackupDir%\%mysqlschema%_backup.%datestamp%.sql
|
||||
|
||||
@REM - Housekeeping
|
||||
forfiles -p %BackupDir% -s -m *.sql -d -%housekeepafter% -c "cmd /c del @path"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user