Can't get automatic backup working

Discussion in 'Bukkit Help' started by flyingtacoz, Jul 10, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    flyingtacoz

    Hello, I have been trying to get an automatic backup script working with cronjob but I just can't get it to work.
    I am using centos.

    I don't think it's the script itself cause nothing shows or happens.
    Here it is anyways:
    http://pastebin.com/34buBt6Q

    I noticed I can't do 'screen -r minecraft', even though I made the screen 'minecraft'
    this is what it shows for the screen, is it suppose to be like that?
    Code:
        There is a screen on:
    26182.minecraft(Attached)
    There is no screen to be resumed matching minecraft.
    
    Cron
    It shows when I do crontab -l
    Code:
    20 1 * * * /root/server/autobackup.sh 1>/dev/null 2>/dev/null
    Any help? :(

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  2. Offline

    Themuddfamily

    Hu?!
    This is a random way of doing backups...
    get a plugin?!
     
  3. Offline

    flyingtacoz

    Hu!?
    No thanks I rather not lol
     
  4. Offline

    Hitman47

    You can't use a CRON tab by itself to perform a safe backup while the server is running. This would only work on cold files that are not being used by a server. Running this script can and will cause a corrupt backup.

    Does the script work when you run it manually?
     
Thread Status:
Not open for further replies.

Share This Page