Jump to content

LeoCash

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by LeoCash

  1. This was a minecraft backup script posted in another forums section. How would it be possible to use this script to backup TeamFortess servers? #!/bin/bash unalias rm SVCBR="/home/tcadmin/Monitor/servicebrowser" START=" -command=start" STOP=" -command=stop" SVCID=" -service=${Service_ServiceId}" BKUPDIR="./backup" # Steps to perform backup # 1. Stop MC Service eval "$SVCBR $STOP $SVCID" # 2. Compress World NOW=$(date +"%Y-%m-%d-%H-%M-%S") WRLDFILE="world_$NOW.tar" tar cf $WRLDFILE world gzip $WRLDFILE FILESIZE=$(stat -c%s "$WRLDFILE.gz") echo "world zipped = $FILESIZE" # 3. Copy to backup folder mkdir -p $BKUPDIR mv $WRLDFILE.gz $BKUPDIR/. # 4. Start MC Service eval "$SVCBR $START $SVCID" # Now clean up so we only keep the last 5 files ls -F $BKUPDIR/world_* | head -n -5 | xargs rm
  2. http://forums.pixeltailgames.com/t/tower-unite-dedicated-server-setup/5425 Does anyone think they can get a config file working for this game? Thanks in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use