Data loss with last update
I updated AMP today, and my saved Satisfactory worlds vanished. When trying to restore then from a backup, the save files were just a .symlink there. It looks like it maps to /home/amp/.config.
root@Tower:/mnt/user/appdata/amp/instances/Satisfactory01/satisfactory/1690800/FactoryGame/Saved# readlink SaveGames /home/amp/.config/Epic/FactoryGame/Saved/SaveGames root@Tower:/mnt/user/appdata/amp/instances/Satisfactory01/satisfactory/1690800/FactoryGame/Saved#
Any idea if there is a way to salvage this? My kids and I have been working on this world for a couple years.
It looks like the contents of /home/amp/.config/Epic/FactoryGame/Saved/SaveGames were reset to a readme and default file.
Hey there @lilith,
I'm very sorry to hear about the loss of your data. I also owe you an apology for the delayed response. This issue has been on my mind frequently. I have been searching to see if there is any way to recover the data, but on Unraid it looks like there is not. On some systems you can sometimes recover files from old, exited containers, but Unraid removes those right away during updates. If I'm incorrect about you using Unraid, you can check for exited containers with docker container ls -a | grep amp.
The root of the problem was my incorrect assumption that all game servers installed through AMP kept their data in /home/amp/.ampdata. With Satisfactory storing saves in /home/amp/.config, and only .ampdata being mounted, the save data had ended up in the container's ephemeral storage and was lost when the container was removed. Container removal happens automatically during an Unraid update.
To prevent this from happening to anyone again, I'm updating the instructions so that new users mount the entire /home/amp directory. For people still mounting .ampdata, I'm writing a patch that moves important files into .ampdata and replaces them with symlinks. That way, data stays safe no matter how it's stored. I am currently testing each game to figure out if Satisfactory is the only game deviating from the norm.
I know that doesn't bring back what you and your kids built, and I'm really sorry for that. Losing game saves hurts and I sincerely wish I could bring it back for you.
I spoke with Greelan who implemented almost every template for AMP. He seems to agree with mounting the /home/amp folder should solve the issue. The amp user should only usually have write access to that folder anyways. He also gave this list of games but said there could be more.
Sunkenland Aska Saleblazers (in his dev branch still)
Thank you so much @IceOfWraith and Greelan for the support!
With the latest release, I have added instructions to help people migrate their data to prevent this happening again. Thank you so much for reporting this!