]> git.pond.sub.org Git - empserver/blob - scripts/backup.bat
fairland: Tidy up comments
[empserver] / scripts / backup.bat
1 REM Example Backup script to be run from pre_update_hook
2 REM Written by Ron Koenderink, 2005
3 REM This script is in the public domain.
4 REM
5 REM Use: edit configuration variables below to taste, then set
6 REM   pre_update_hook = c:\home\wolfpack\emp4\scripts\backup.bat
7 REM in econfig.
8 REM
9 REM Rules when running as pre_update_hook:
10 REM Data directory is working directory.
11 REM stdin, stdout, stderr are redirected to /dev/null
12 REM Exit code other than zero cancels update!
13 REM
14 REM This script is as simple as possible, since failure cancels the
15 REM update.
16 xcopy /E /Y c:\home\wolfpack\emp4\data c:\home\wolfpack\emp4\backup\r