Forum: Dominions 3: The Awakening
September 24th, 2009, 10:23 AM
|
Replies: 81
Views: 33,754
Re: Linux Admining
Looks like edit period ran out... It should have been
--preexec "/home/dom/backup.sh \"$GAME\""
|
Forum: Dominions 3: The Awakening
September 24th, 2009, 09:24 AM
|
Replies: 81
Views: 33,754
Re: Linux Admining
Most of my backup script is about finding the current turn number and handling edge cases like being somehow called to backup a non-existent game (not detecting conditions like that will at best...
|
Forum: Dominions 3: The Awakening
September 24th, 2009, 04:04 AM
|
Replies: 81
Views: 33,754
Re: Linux Admining
I see a couple of problems here:
You copy all games every time any game hosts. Which clobbers the backups of all games other than the one about to be hosted.
You only maintain a backup of the...
|
Forum: Dominions 3: The Awakening
January 30th, 2009, 05:39 PM
|
Replies: 81
Views: 33,754
Re: Linux Admining
My server wrapper and backup scripts. For this thread, I think the interesting bit is the backup script, since it's parametrized by game name.
Both scripts assume the game directory is...
|