An existing Valheim world can be hosted on a dedicated server instead of replacing it with a new one. Keep an independent backup, stop the original game and server before moving world data, and set the server's -world option to the transferred world's name.
Find the right save location
Iron Gate documents the default dedicated-server data directory as %USERPROFILE%/AppData/LocalLow/IronGate/Valheim on Windows and ~/.config/unity3d/IronGate/Valheim on Linux. The -savedir option overrides the path. A rental host or container can therefore store files elsewhere. If the original world uses cloud storage, first identify the current world using Valheim's Manage Saves interface rather than assuming the visible disk copy is current.
Move the world to a dedicated server
- Make a backup from the original world; keep another copy outside your game's normal save directory.
- Stop the dedicated server cleanly. Iron Gate recommends
Ctrl+Cfor a console session. - Identify the exact active world folder from the configured
-savedirlocation. - Copy the corresponding world files as a consistent set, retaining the original versions.
- Set
-world "YourWorldName"and verify that the name matches the copied world. - Start the server. Connect and check structures, portals and explored terrain before deleting anything.
Configure automatic backups
The dedicated server exposes -saveinterval 1800 (seconds between saves), -backups 4 (retained automatic backups), -backupshort 7200 and -backuplong 43200. These are the defaults documented by Iron Gate: 30 minutes between saves, a short backup interval of two hours and longer intervals of 12 hours. Keep an off-server archive as well, because rotating files on the same disk do not protect against disk loss.
Restore a backup
Stop the server, archive the current state, then replace the world files with a matching backup from a known-good point. Confirm world name and folder permissions before restarting. Avoid allowing a stale cloud copy to overwrite a restored world. If the group also plays on consoles, separately verify the -crossplay setting: crossplay networking does not change the underlying world-file backup procedure.