Get started

Free trial Try a game free for 3 days. No card needed. Start a free trial Start a free trial

Game server hosting

All games

Guides / Valheim / Fixes

Restore a deleted Valheim world

Deleted a Valheim world in Files? It sits in the Trash for 3 days. Stop the server, open Trash, press Restore, then start the server again.

Updated

If you deleted a Valheim world in Files, you can get it back for 3 days at the moment. The delete moved it to the Trash. A mod’s Remove is not in the Trash (see What the Trash does not hold). Stop the server, open the Trash, choose Restore, then start the server. More about the game: Valheim servers.

Where the world lives

The world is in .config/unity3d/IronGate/Valheim/worlds_local. Its name is on the World page. Look for the folder or the files named like your world. A world can be a folder, or two files, one .db and one .fwl. Restore both files of a pair.

Restore it

  1. Choose Stop at the top of the server page. Wait until it is offline.
  2. Open Files. Choose the Trash button on the toolbar. It is an icon with no text.
  3. Find the world in the list. The Original Location column shows the folder it was deleted from.
  4. Open the menu on its row and choose Restore. For a world that is two files, select the .db and the .fwl file together and press Restore in the bar that appears.
  5. Start the server.
The Trash page with the time files are kept, a deleted world and the Empty Trash button
  1. How long files are kept
  2. A deleted file
  3. Back to Files
  4. Empty Trash

Original Location names the folder each item came from.

The line at the top (1) says how long the Trash keeps files. Find your world in the list (2). Back to Files (3) takes you back. Do not press Empty Trash (4): it deletes everything in the list for good.

The Trash button only shows while the Trash is on for your server. Your role needs permission to read files to see the page, and permission to delete files to restore.

If the game already made a new world

If you started the server after the delete, the game may have made a new world with the same name. Then Restore shows a window, Resolve Restore Conflicts. Each item has a choice:

  • Skip leaves the Trash copy where it is. This is the starting choice.
  • Rename restores it under a new name that you type.
  • Overwrite replaces what is on the server with the Trash copy.

Pick Rename if you want both worlds. Overwrite may replace or merge a folder. Use Rename if you want to keep both. The Restore button at the bottom stays grey until you set at least one item to Overwrite or Rename. Rename shows a New name box with a copy name already filled in.

What the Trash does not hold

The Trash keeps only what you delete in Files. The dialog says so: the item “will be moved to the trash and can be restored for 3 days”. Three days is the time at the moment. The Trash page shows the real time.

The Move to Trash dialog saying the file can be restored for 3 days
  1. Kept for 3 days
  2. Delete permanently instead

If someone turns on Delete permanently instead of moving to the trash (2), the world is gone at once. The Valheim World page has no delete button. A mod’s Remove on the Mods page deletes for good too.

Files in the Trash still count toward your disk until they leave it. Delete Permanently or Empty Trash frees the space at once. The panel also clears the oldest entries by itself when the server nears its disk limit.

If it does not work

  • There is no Trash button. The Trash is off for this server, or your role cannot read files.
  • The world is not in the list. It is older than the time on the Trash page, it was deleted with Delete permanently instead of moving to the trash, or someone chose Empty Trash.
  • Restore says a file rule limits your role. Someone who is not limited by a file rule must restore it. The owner is never limited.
  • The world is gone for good. Use a backup. The game keeps its own backups beside the world: see Valheim world backups. Whole-server backups are on Settings, then Backups.
  • You want a fresh world on purpose. See reset a Valheim world.

Valheim server hostingAll Valheim guides