I'm in desperate need of an auto-mated server save, as we just had an incident where someone may or may not have killed everything on the server, and I'd like to be able to roll it back in the future, when things like this happen, or when hackers hit.
Anyone help a gal out?
Solved Server saves backup?
Discussion in 'Reign of Kings Discussion' started by Kaleidoscopic, May 25, 2015.
-
Do you mean a backup of the save folder?
-
Just make a batch file that copies \ReignOfKings\Saves folder and put it in scheduler.
-
^ This is Chinese to me. So please, hold my hand.
-
Someone already posted batch script: http://steamcommunity.com/app/344760/discussions/4/611701999515692676/
-
I saw, but how do I automate it, with a Gameservers server?
-
-
Here is a simple batch script that will make you backup every hour.
This script does not run rok server and should be run separately .
Code::start set TIMESTAMP=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%-%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2% echo. echo Making backup with time stamp %TIMESTAMP%" echo. xcopy /e /y /i "D:\ReignOfKings\Saves" "D:\srv\ReignOfKings\Backup\test_%TIMESTAMP%" echo. echo Delete backups older then 2 days FORFILES /S /D -2 /C "cmd /c IF @isdir == TRUE rd /S /Q D:\ReignOfKings\Backup" echo Waiting For One Hour... TIMEOUT /T 3600 /NOBREAK echo. goto :start
-
I have FTP access.
-
Download: winscp and follow docs here: http://winscp.net/eng/docs/guide_automation and http://winscp.net/eng/docs/guide_schedule#scheduling_on_windows_7_and_windows_8
Schedule a task to download over ftp the rok server files.
You can also just use a tool like https://mover.io/pricing/ and use its ftp connector to connect to a service like copy.com or dropbox to store your server saves. -
No way to put an automation in the ftp, to drop backups in a folder?
-
I just gave you information to do exactly that, the mover.io and copy.com just help simplify that and it would only cost $4 a month.
-
Thank you for your help Hate..mail... that name. I finally read it. Lol Thank you though
-
I wouldn't advise downloading ftp files from gameservers ftp. They limit how fast you can download from the save folder. I tried it... 20 bytes per second and it was going to take hours... My advice, look for a different host lol.
-
Hmm. I've downloaded zips from my ftp just fun..