Nimdy / Dedicated_Valheim_Server_Script

Valheim Server Manager . Supports: ValheimPlus, Bepinex, Multi-world, Multi-Lang, Update, Backup, Restore and more: Built for Linux
GNU Affero General Public License v3.0
697 stars 120 forks source link

Accidentaly Overwrite The World File #129

Closed mihlac closed 3 years ago

mihlac commented 3 years ago

Hello,

When i was trying to reboot the system, the system overwrite my world file with an old version. And all of my progress is gone. Is there any chance to retrieve it back? Thank you.

Nimdy commented 3 years ago

are the files sizes different?

If the the whateveryourworldname.db.old is larger than the whateveryourworldnamedb , then yeah that file has more information

if not... something else was going on.

Why did you restart the server?

anyways becareful on the next steps

cd /home/steam/.config/unity3d/IronGate/Valheim/worlds/

systemctl stop valheimserver.service

cp whateverworld.db whateverworld.dbback rm whateverworld.db cp whateverworld.db.old whateverworld.db

cp whateverworld.fwl whateverworld.fwlback rm whateverworld.fwl cp whateverworld.fwl.old whateverworld.old

systemctl start valheimserver.services

This is non script related. Anything that happens is chalked up to Early Access bugs/issues and can be report here https://valheimbugs.featureupvote.com/

mihlac commented 3 years ago

Because my server didn't run on game. So i needed to restart my server. But when I load my backup and start the server, my last save has gone. And only the low size db file was left. So i asked is there any chance to get it back. Thanks anyway.

Nimdy commented 3 years ago

oh.

No... if its not there... and you didnt make backups yeah its gone.

This also could just be a process issue... it happens.