Server Backups

Discussion in 'Server & Community Management' started by Nentify, Jul 13, 2013.

  1. Nentify

    Supporter

    I've been reading around a bit, and trying to find the best/most efficient method to take server backups.

    I've seen a few methods, using rsync and zips/tars, but was wondering what methods you use, and what you'd suggest?

    Some information:
    - MCPC+ modded server
    - Server folder is roughly ~10GB, may grow
    - World folder is roughly ~3GB, may grow
    - Linux (Ubuntu) OS

    If you need anymore information off me, I'd gladly assist.

    Thanks!

    Edit: Currently I've settled for this, adapted from something else I saw, using cronjob to run it every 24 hours..

    Code (Text):
    bakdir="/backup/tekkify"
    src_tekkify="/tekkify/"
     
    rm -rf $bakdir/backup_`date --date='4 days ago' +%F`
    cp -alv $bakdir/backup_`date --date='1 days ago' +%F` $bakdir/backup_`date +%F`
    rsync -av --delete $src_tekkify $bakdir/backup_`date +%F`
     
     
    #1 Nentify, Jul 13, 2013
    Last edited: Jul 13, 2013