[Backup] Script for remote ftp backup of server files and sql databases

Discussion in 'Bukkit Discussion' started by Sandbird, Jul 11, 2011.

Thread Status:
Not open for further replies.
  1. I found the other day a script called "Autobackup By Justin Smith" that did a backup of the minecraft server files. I had to tweak it a bit because (for me) the crontab was not working and it wasn't 100% what i wanted. I wanted a script to backup my server files and then upload them to a remote FTP server for safe keeping, and also include all my SQL databases (iConomy, DataLog etc) So here is the tweaked version of it. Crontab instructions are inside the code.

    Features:
    • Crontab automated action
    • Save files and notify users in game
    • Backup ALL files inside minecraft server (except running .jar files like bukkit.jar, and plugin jars...but it will save all the config files)
    • Backup ALL databases (iColony, DataLog, AuthMe, etc)
    • Zip everything for less bandwidth and space
    • Create incremental and full backups on a remote FTP server
    I'd like to thank Justin again for his starting script.

    If anyone has anything to contribute to this please do so. Took me some time to do all this and i would like to have some help back then :)
     
Thread Status:
Not open for further replies.

Share This Page