Backup tool

Discussion in 'Bukkit Help' started by turtlelink2, Apr 27, 2011.

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

    turtlelink2

    Hey guys I just wrote this backup tool and thought someone may like to use it, it backs up the server every 20 seconds only writing flies that have been changed (I run a RAMdisk so thats why its 20 seconds.)

    Code:
    @echo off
    :start
    Echo Next backup in 20 seconds.
    timeout /t 20 /nobreak > NUL
    XCOPY "F:\" "C:\Users\******\Desktop\SERVER BACKUP" /D /E /C /R /I /K /Y
    Echo Backup complete!
    goto start
    pause
    replace where your server is and where its saving to and adjust the time as you wish and save it as a .bat.
     
Thread Status:
Not open for further replies.

Share This Page