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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ