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.

demandé il y a 2 ans1139 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions