The built-in world backups

Valheim's own backup rotation on the server, how the BACKUP variables work, and restoring from one.

1 min readDiese Anleitung auf Deutsch lesen

On this page 2
  1. Restoring
  2. Still make proper backups

Besides the backups in the server management, the Valheim server keeps its own rolling backups of the world. The Startup variables control them:

  • BACKUP_COUNT (default 4): how many backups to keep.
  • BACKUP_INTERVAL (seconds, default 1800): how often the game writes a backup.
  • BACKUP_SHORTTIME / BACKUP_LONGTIME: Valheim keeps one recent backup at least this old (short) and one older one (long), so a corruption you notice late still has an intact copy.

The files appear next to the world as <Name>_backup_auto-<date>.db/.fwl.

Restoring

Stop the server. In worlds_local/, rename the current <Name>.db/.fwl (add -broken), then copy the backup pair you want and rename it to <Name>.db / <Name>.fwl. Start. Or ask Kowalski: "restore the newest Valheim auto backup".

Still make proper backups

Valheim's backups protect against world corruption. The backups in the server management protect against everything else (deleting the wrong folder, a bad mod, moving hosts). Both take a minute to set up.

Still stuck?

Kowalski, the assistant in your dashboard, reads your server's log and fixes most things on request. For everything else there is the ticket system.