# How to Upload a Save to Your Sons of the Forest Server (/docs/sons-of-the-forest/import-save)



import { Step, Steps } from 'fumadocs-ui/components/steps';
import { Files, Folder, File } from 'fumadocs-ui/components/files';

You can upload a world from singleplayer, co-op, or another server to your dedicated server. Note that **player-specific data** (inventory, position, stats) does not transfer — only world data (structures, items on the ground, game progress).

Finding Your Local Save [#finding-your-local-save]

On **Windows**, saves are stored at:

```
%AppData%\LocalLow\Endnight\SonsOfTheForest\Saves\<SteamID64>\Multiplayer\<SaveID>\
```

Each save folder contains a `SaveData.zip` and various `.json` files.

Server Save Structure [#server-save-structure]

<Files>
  <Folder name="Saves" defaultOpen>
    <Folder name="DedicatedServer" defaultOpen>
      <Folder name="Multiplayer" defaultOpen>
        <Folder name="0000000001" defaultOpen>
          <File name="SaveData.zip" />

          <File name="GameStateSaveData.json" />

          <File name="ConstructionsSaveData.json" />
        </Folder>
      </Folder>
    </Folder>
  </Folder>
</Files>

The folder name corresponds to the `SaveSlot` value in `dedicatedserver.cfg` (slot 1 = `0000000001`, slot 2 = `0000000002`, etc.).

Upload Your Save [#upload-your-save]

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    Go to **Console** in the [XGamingServer Panel](https://panel.xgamingserver.com) and stop the server.
  </Step>

  <Step>
    Back up the existing save (optional) [#back-up-the-existing-save-optional]

    Go to **Backups** and create a backup before overwriting.
  </Step>

  <Step>
    Navigate to the save slot [#navigate-to-the-save-slot]

    Click **Files** in the sidebar. Navigate to `Saves/DedicatedServer/Multiplayer/`. Open the folder matching your `SaveSlot` (e.g., `0000000001`).

    {/* Screenshot needed: File Manager showing save slot directory */}
  </Step>

  <Step>
    Upload save files [#upload-save-files]

    Delete the existing contents and upload all files from your local save folder.
  </Step>

  <Step>
    Set SaveMode to Continue [#set-savemode-to-continue]

    Open `dedicatedserver.cfg` and ensure:

    ```json
    "SaveSlot": 1,
    "SaveMode": "Continue"
    ```

    `SaveMode` must be `"Continue"` — if set to `"New"`, the server will overwrite your uploaded save.
  </Step>

  <Step>
    Start the server [#start-the-server]

    Start from **Console**. The server loads your uploaded world.
  </Step>
</Steps>

Starting a Fresh World [#starting-a-fresh-world]

To generate a new world instead of uploading:

1. Set `"SaveMode": "New"` in `dedicatedserver.cfg`
2. Optionally change `SaveSlot` to keep the old save
3. Start the server — it creates a new world and auto-switches `SaveMode` back to `"Continue"`

> Setting `SaveMode` to `"New"` **overwrites** any existing save in that slot. Use a different `SaveSlot` number to preserve the old world.

Related Guides [#related-guides]

* [Server Configuration](/docs/sons-of-the-forest/server-config)
* [Wipe & Reinstall](/docs/sons-of-the-forest/wipe-reinstall)
