/Project-Zomboid-Save-Backup

Simple Python script that automatically backs up your game saves in case something bad happens (as we know it always does)

Primary LanguagePython

Project-Zomboid-Save-Backup

Simple Python script that automatically backs up your game saves in case something bad happens (as we know it always does).

Script uses your newest save in the selected gamemode and saves it into the newly created Backup folder in the C:\Users\USERNAME\Zomboid\Saves location.

How to use it on my computer?

In order to use this code, you can simply load it into your Visual Studio Code with python installed and launch.

If you want to make it into an .exe file (like i prefer) you need to use PyInstaller.

If you don't have it you can install it using this line in the terminal: pip install pyinstaller,
then simply enter: pyinstaller --onefile main.py while inside the folder containing the main.py file.

After this you can find the .exe file in the dist folder

Important info

When you change the save file, you need to delete all the folders in the backup folder. If not, you will be limited to ONLY one backup folder.
Why is it important to have more than one backup?
If you are unlucky, the game might save moments before something unwanted happens, and you wouldn't be able to do anything to prevent it.
You need to always have at least one more older save.

Program Usage

Choosing folder

Choosing interval

Choosing number of folders

Backup in progress

Created backups