Open Zaragoss opened 10 years ago
I made a batch file to backup our saves on our server, its located here
https://gist.github.com/generalwrex/a3d9f47f30eab535e9fa
put the batchfile where SeServerExtender is!!
It will make a backup of your world in the time you set (default 60 mins) under a location to specify etc default "C:\SE-Save-Backups"
Just set the time, the location of the instances default: "C:\Documents and Settings\All Users\Application Data\SpaceEngineersDedicated"
the name of the instance folder example: "Created 2014-08-22 1546"
the name of the save example: "Created 2014-08-22 1546"
and the name of your sese exe ( we have multiple servers, and our crash protector depends on the name of the program, it checks to see if its running, or it wont make a backup) example: SEServerExtender
and it will create a 7zip file under your save name/date/time (24 hour format)
etc: C:\SE-Save-Backups\savename\date\time.7z you need 7zip installed under the default location (C:\Program Files\7-Zip)
if its not there, change it down on line 68 to reflect where its installed default: "C:\Program Files\7-Zip\7z.exe"
If you have a problem with it, leave a comment on the gist page, not here :)
edit 9/5/14 I repaired & updated the script, it was saving where the world was!
There should be a backup mechanism inside SESE, I appreciate that there is currently a workaround, but SESE have to support backups.
Is it possibile to save a second file on path down in a folder structure like this
Blabla my actual savegeame \Savegame\copy1\Blabla my actual savegeame \Savegame\copy2\Blabla my actual savegeame \Savegame\copy3\Blabla my actual savegeame \Savegame\copy4\Blabla my actual savegeame \Savegame\copy5\Blabla my actual savegeame
and maybe set an counter how many security copys i want for the future these file are maybe created in a set time like afer 1 hour or user defined. so we can grab them and restore a griefer attack or some wierd errors from the game.