This document explains how your server data is stored and how to manage your game saves.
To ensure your server data survives a container restart, you must map the following volumes to your host machine:
| Host Path | Container Path | Description |
|---|---|---|
./server |
/mnt/vrising/server |
Installation files for the dedicated server (from Steam). |
./persistentdata |
/mnt/vrising/persistentdata |
Your world saves, settings, and logs. |
- Disk Space: The initial server download takes several GB. Ensure your host machine has sufficient space.
- Backups: We recommend backing up your
persistentdata/Savesdirectory regularly.
You can use a simple cron job on your host machine to automate backups of your world saves.
- Open your host's crontab:
crontab -e
- Add the following line to create a compressed backup at 3:00 AM every day:
0 3 * * * tar -czf /path/to/your/backups/vrising_$(date +\%Y\%m\%d).tar.gz /path/to/your/persistentdata/Saves >/dev/null 2>&1
Replace /path/to/your/backups and /path/to/your/persistentdata with your actual absolute paths.
If you want to move a save from your local PC to your dedicated server:
- Locate Local Save: Find your save files on your local machine (typically in
%AppData%\LocalLow\Stunlock Studios\VRising\Saves). - Stop Server: Stop your Docker container.
- Copy Files: Overwrite the contents of the
persistentdata/Savesdirectory on your Docker host with your local save data. - Restart Server: Relaunch the container.
If you have a Custom.json configuration file:
- Start the server once to generate the directory structure.
- Stop the server.
- Place your
Custom.jsoninto thepersistentdatafolder. - In your
ServerHostSettings.json, update the following line:"GameSettingsPreset": "Custom"
- Restart the server.