Initial Release.
This commit is contained in:
parent
320db9df30
commit
82ac1a9ddc
2 changed files with 37 additions and 0 deletions
16
scripts/backup.bat
Normal file
16
scripts/backup.bat
Normal file
|
@ -0,0 +1,16 @@
|
|||
REM Example Backup script to be run from pre_update_hook
|
||||
REM Written by Ron Koenderink, 2005
|
||||
REM This script is in the public domain.
|
||||
REM
|
||||
REM Use: edit configuration variables below to taste, then set
|
||||
REM pre_update_hook = c:\home\wolfpack\emp4\scripts\backup.bat
|
||||
REM in econfig.
|
||||
REM
|
||||
REM Rules when running as pre_update_hook:
|
||||
REM Data directory is working directory.
|
||||
REM stdin, stdout, stderr are redirected to /dev/null
|
||||
REM Exit code other than zero cancels update!
|
||||
REM
|
||||
REM This script is as simple as possible, since failure cancels the
|
||||
REM update.
|
||||
xcopy /E /Y c:\home\wolfpack\emp4\data c:\home\wolfpack\emp4\backup
|
Loading…
Add table
Add a link
Reference in a new issue