-
-
Notifications
You must be signed in to change notification settings - Fork 119
How to Update Your Valheim Server
The server updates on its own when it is restarted. There are numerous ways to do this, but below we'll walk through backing up your data and restarting the server.
In order to help prevent data loss, stop your server using the command below:
sudo systemctl stop valheimserver.service
Give the service time to shutdown properly. Failure to do so could result in via incomplete backup files.
These commands will copy your server data files as a backup, should you experience any data loss. You can skip this step, but do so at your own risk.
The 2 files to backup are: WorldNameFile.db
& WorldNameFile.fwl
located in the cp /home/steam/.config/unity3d/IronGate/Valheim/worlds
directory. WorldNameFile is a placeholder and needs to be replaced with the name of your server.
Use the commands below and replace WorldNameFile with your server's name:
cp /home/steam/.config/unity3d/IronGate/Valheim/worlds/WorldNameFile.db /home/steam/.config/unity3d/IronGate/Valheim/worlds/WorldNameFile.dbGood
cp /home/steam/.config/unity3d/IronGate/Valheim/worlds/WorldNameFile.fwl /home/steam/.config/unity3d/IronGate/Valheim/worlds/WorldNameFile.fwlGood
sudo systemctl start valheimserver.service
Give the service time to spin back up.
Server should be updated and you can connect as you normally do.
Add Windows Section Add Linux Section