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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠