Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little addon to savegames #125

Open
Zaragoss opened this issue Aug 26, 2014 · 2 comments
Open

A little addon to savegames #125

Zaragoss opened this issue Aug 26, 2014 · 2 comments

Comments

@Zaragoss
Copy link

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.

@generalwrex
Copy link
Contributor

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!

@fvgoulet
Copy link
Contributor

There should be a backup mechanism inside SESE, I appreciate that there is currently a workaround, but SESE have to support backups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants