Lightsail - How to access files?

0

I'm using Lightsail to host a dedicated server for a game called Valheim. There are two world files (.db and .fwl) that represent the cumulative progress we've made in the game, and I want to make sure they are getting backed up safely. I've been making snapshots of the server instance periodically, but wondering how to access and save the specific .db and .fwl files I'm looking for.

I don't see these files saved locally on my PC so I assume they are stored somewhere within AWS or Lightsail, is this correct? If so, how would I access them?

Normally, the drive path to access these files if playing locally is C:\Users\username\AppData\LocalLow\IronGate\Valheim\worlds, so maybe there's a command I can use in the SSH client to see this directory and pull the files?

Thank you.

已提问 2 年前1139 查看次数
1 回答
2

Hi there,

I have just launched a Valheim server on AWS Lightsail instance following this walkthrough. You can find your .df and .fwl files in ./valheim/saves/worlds_local directory. If you have existing world files in your local PC, you can also move your existing files to that directory. Following are the steps you will have to do to move your existing files:

  1. ssh to your Lightsail instance and go to the directory using cd ./valheim/saves/worlds_local.
  2. Copy your existing files and paste them in that directory, the best way to do this is using scp.
  3. Edit world property in the docker-compose.ylm file to match the .df or .fwl files that you want to use.
  4. Restart the server.

I hope you find this information helpful.

Cebi
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则