I needed the piece of mind of knowing i had backups of my worlds. Especially since i was letting other people play in my worlds. I just didn't know what they would be up to.
Here is a simple script that will backup all worlds in your server directory.
@echo off
7za.exe a -y -tzip -xr!*.log -xr!*.zip "C:\ProgramData\SpaceEngineersDedicated\%DATE:~-4%-%DATE:~4,2%-%DATE:~7,2%-%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%-"se-world-backup.zip "C:\ProgramData\SpaceEngineersDedicated\"
you will need 7zip... i have included all the files and 7zip in a download here:
http://files.denalicomputer.com/SEBU/SEBU.zip
once you have the files downloaded and extracted somewhere they can live, we need to create a task to run the script on a schedule.
click start, search for 'task scheduler'
create a task... (dont start with 'create basic task')
Here are what my screens look like:
This runs the script starting at 12am, every 6 hours.
this is the actions window, it tells the script to actually run
thats all you need....
for scheduling you can also use the 'at' command from the command line.
1 comment:
Good information and loved reading this article about this topic, best dedicated server providers
Post a Comment