Laurenmods-Backupheim icon

Backupheim

A batch file to quickly backup player and world files. Now works with the new local save location - local files only - beta with steam cloud backups in progress.

Last updated 2 years ago
Total downloads 315
Total rating 2 
Categories Utility
Dependency string Laurenmods-Backupheim-2.0.1
Dependants 0 other packages depend on this package

README

Backupheim

A batch file to quickly backup local character and world save files.

Download Link(s):

Nexus

What's new?

See Changelogs

What does it do?

Backupheim is a batch file that you run (double click) to update either your world files, your character files, or both.

It does not work while the game is running. You must close the game to run Backupheim.

It does not currently back up cloud saves. There is a beta which may or may not work. If you can help with testing, please respond to the issue here.

It copies files from the default save-game location on Windows PCs to a backup folder in the same location as the batch file.

It is a manual backup not automatic so you will need to run backupheim.bat every time you want to back up!

How do I install it?

  1. Put backupheim.bat anywhere on your computer.

  2. Double click to run. Note: When you first run backupheim.bat, a folder will be created next to it called Valheim-Backups. This is where your backups will go. If you do not like the location, either move backupheim.bat and run it again, or edit the batch file.

  3. Backupheim will give you four options, type the number for the option you want, and then press return/enter.

You should now see alll the files being copied over.

You're done!

Editing the batch file

Source locations

If backupheim is not finding your files, you may need to edit the source locations.
Right-click on backupheim.bat and select 'open with' a text editor of your choice (Notepad is fine).
Find the section that looks like this:

rem Source folder setup. You can edit these if they don't work for you!

set "worldsource=C:\Users\%username%\AppData\LocalLow\IronGate\Valheim\worlds"
set "charsource=C:\Users\%username%\AppData\LocalLow\IronGate\Valheim\characters"

and edit the paths C:\Users\%username%\AppData\LocalLow\IronGate\Valheim\worlds and C:\Users\%username%\AppData\LocalLow\IronGate\Valheim\characters so they match your folder locations. If you need help, contact me on the Nexus forums :)

Be careful with the quotation marks - it is easy to delete one by accident!

Destination locations

For destination locations, you will need the section that looks like this:

rem Edit 'Valheim-Backups' here (2x) to change the folder name.
mkdir %~dp0\Valheim-Backups\%datestring%
set "destination=%~dp0\Valheim-Backups\%datestring%"

You can see %~dp0\Valheim-Backups\ is written 2 times. Edit this, and make sure it is the same both times. Do not remove %datestring% at the end of the path. This is what creates a dated backup folder!

Again, if you need help, you can contact me on the Nexus page :)