Illustration for Migrate and Back Up a Sons of the Forest World

Migrate and Back Up a Sons of the Forest World

Copy the dedicated server user-data folder, save slot and config, then prove the same world comes back.

A useful Sons of the Forest backup is the dedicated server user-data folder, not the SteamCMD directory. It contains config, the owner list, logs and Saves. SaveMode has to stay on Continue, or the next boot overwrites the slot you just copied.

What to stop and copy

Tell players, and wait until nobody is connected. Stop the server from its console instead of killing the process mid-write. Copy off the machine the directory given to -userdatapath, or this one when that argument is absent:

C:\Users\<user>\AppData\LocalLow\Endnight\SonsOfTheForestDS

Inside it: dedicatedserver.cfg, ownerswhitelist.txt, Saves, and logs if you enabled them. Write down SaveSlot, SaveMode and the launch command. An archive that does not open is not a backup. Keep the previous copy. The newest archive alone does not let you step back from a bad edit.

The dedicatedserver.cfg guide explains the keys. Installation is in the SteamCMD guide.

Bring the world up on another machine

  1. Install the same dedicated tool and start it once so it creates a user-data folder. Stop it.
  2. Set that empty generated folder aside so you can return to it.
  3. Restore your copy where the new command will read it. If you change -userdatapath, the script and the restored path have to match.
  4. Open dedicatedserver.cfg and check SaveSlot and SaveMode. Leave Continue.
  5. Do not change GameMode during the move. On an existing slot that key is ignored, and switching the mode to new destroys the slot.
  6. Put ownerswhitelist.txt back with the same SteamIDs. A missing file stops startup: the server creates an empty one, and you have to fill it in and start again.

Start without deleting the source. The self-test should pass, or you should already know why you are bypassing it. Join, check a known camp, a container and a player. Place an object, stop cleanly, start again, and confirm the object is still there.

Co-op or solo into the dedicated server

The Steam Community guide documents the dedicated server folder (SonsOfTheForestDS). A game hosted inside the client uses a different LocalLow folder, Endnight\SonsOfTheForest, without the DS suffix. They are not the same files.

The source guide does not spell out a co-op-to-dedicated transfer. Treat the copy as unproven until this validation passes:

  • back up both folders before moving anything;
  • create a dedicated slot in Continue, stop, and see how Saves is laid out;
  • copy the client save into that tree so the slot number still matches SaveSlot;
  • start in Continue, never New;
  • if the world does not load, restore both copies. Do not rename files at random to force the slot.

A brand-new world usually means the wrong user-data folder or SaveMode still set to new. The right world with no admin rights means a missing ownerswhitelist.txt or a truncated SteamID64.

Rollback

Leave the old server off but intact for a few days. On failure: stop the destination, keep its logs, restore the archive, and start again only after you have re-read SaveMode. Test from the Internet after the local test. If that fails, the save is no longer the problem: use the port diagnosis.

Move a Sons of the Forest world

Compare hosts by file access, user-data export and backups.

Common questions

Is copying the SteamCMD folder enough?
No. SteamCMD only has the binaries, unless you forced user data to live inside it. The session is in SonsOfTheForestDS, or in the path passed to -userdatapath.
Can I change the slot number while migrating?
Only if SaveSlot and the Saves tree both use the new number. Changing just one of them loads an empty world or a different slot.
How often should I back up?
The source guide documents SaveInterval in seconds for the automatic slot write. That does not replace an off-machine copy, especially before an update or a SaveMode change.

Source: Steam Community dedicated-server guide by Dishmink and a collaborator. The client-folder transfer is not a step-by-step in that guide: treat it as a copy you have to prove, not a guaranteed import.

Our recommendation

Ready to launch your Sons of the Forest server?

Here are the best Sons of the Forest hosting deals right now, promo codes included. Still unsure? Our quiz finds the ideal host for you in under 2 minutes.

Budget

Sons of the Forest

OptiNAS

8.99€/month
-10% with code HOSTMYGAME
Max players:Unknown
Mods:
Yes

Specifications

RAM:8 Go

Compatible games

Sons of the Forest

Features

  • ✓Environ 6 joueurs
  • ✓Minimum : 3 vCPU et 8 Go de RAM
  • ✓Conseillé : 3 vCPU et 8 Go de RAM
  • ✓Plugins et mods possibles selon le jeu
  • +2 more features