PingByte

Valheim server: change the password, upload your world, restore a backup

Three jobs that come up on every Valheim server, and one trap that catches people on all of them: Valheim finds your world by its name, so a small change to that name gives you a fresh, empty world.

The one thing to understand first

A Valheim world is saved as a pair of files named after the world, YourWorld.db and YourWorld.fwl. The server loads whichever world matches the world name in its settings. If that name doesn't match an existing save, Valheim generates a brand new world with that name. Your old world isn't deleted, it's just not the one being loaded. Almost every "my world disappeared" report comes from a changed or mistyped name.

Change the password or other settings

  1. Open your server's Settings tab.
  2. Change the password, server name, Listed or Crossplay option.
  3. Save. The server restarts to apply it, so warn anyone who is playing first.

Passwords need at least 5 characters and can't appear inside the server or world name. Leave the world name alone unless you mean to switch worlds.

Move your existing world onto the server

If you've been playing a local or self-hosted world, you can bring it with you.

  1. Find the two files. On a Windows PC they are in %userprofile%\AppData\LocalLow\IronGate\Valheim\worlds_local. Copy both the .db and the .fwl for your world. (A .db.old file is just a spare copy.)
  2. Take a backup first. Open the Backups tab and create one, so you can undo this.
  3. Upload them. In the Files tab, open the config folder, then worlds_local, and upload both files.
  4. Match the name exactly. In the Settings tab, set the world name to the file name without the extension, including capital letters, and save.
  5. Check the console. After the restart it should load your world. If it generated a new one instead, the name doesn't match, so fix the name rather than uploading again.

If you're also moving from another host, keep the world's two files together. A .db without its .fwl won't load.

Restore a backup

  1. Open the Backups tab and pick the backup from before the problem.
  2. Press Restore. The server restarts with that backup's files, replacing the current world with the backup's contents. Anything done after the backup is gone.
  3. If you might want today's state back, take a fresh backup first. Up to 5 are kept, and the oldest is dropped automatically.

Backups cover your world and settings, but not the downloaded game files, which stay put when you restore. To avoid losing progress, set a backup schedule (every 6 hours up to weekly) in the same tab.

Start a brand-new world on purpose

On the Backups tab there's a Wipe world card. You type the server's exact name to confirm, it takes a safety backup first, and then deletes the world files. Settings and game files are kept, and the server starts again with a fresh world. Use it only when you really want to start over.

Something went wrong?

If your world is missing, check the world name in Settings first, then look in the Files tab under config/worlds_local to see whether your files are still there. Then restore a backup. If you're stuck, open a support ticket with the world name you expect and a list of the files you see in that folder.

Want a server without the setup?

See Valheim hosting