Lag from backup script Blimey wrote: I have found the pgplus/bin/backup.code script to cause some serious lag, and so have made some amendments to address this issue. I've removed the call to sleep and made gzip run in the background, and a couple of pedantic tweaks. --- backup.code.orig Thu Nov 22 05:51:40 2001 +++ backup.code Thu Nov 22 06:01:07 2001 @@ -1,6 +1,8 @@ +#!/bin/sh # # Playground+ Backup Script # Written by Richard Lawrence (aka Silver) +# Amended by Geoffrey Swift (aka blimey) # # This batch file is executed from the talker with the "backup" command # Yes this is totally different from the standard EW-2 version and IMHO @@ -32,22 +34,14 @@ # cd .. -tar cf backup/backup01.tar files/notes files/players files/rooms files/items files/whois files/socials files/news - -# -# Snooze for 30 seconds just to check that all the files have been -# done properly. This is purely a paranoid measure and probably isn't -# necessary at all. -# - -sleep 30 +tar -cf backup/backup01.tar files/notes files/players files/rooms files/items files/whois files/socials files/news # # Now gzip up the files. Maximum compression. # cd backup -gzip -9 backup01.tar +gzip -9 backup01.tar & # # Tah dah! Done - player files can be decompressed with