Saltar para o conteúdo principal

Restore an Enshrouded Dedicated Server World Backup

An Enshrouded dedicated server keeps ten numbered rolling copies of each world. The server creates a copy every ten minutes and when it shuts down, then overwrites the oldest copy. You can select a copy by changing the world's index file.

Find the world save​

  1. Stop the server.
  2. Find its save directory. By default, saveDirectory is ./savegame beside the server files. A host's file manager may show this folder at its top level. If the server configuration sets another saveDirectory, use that path.
  3. Copy the entire save directory somewhere safe before editing any save files.
  4. Find the world by its _info file; it contains metadata such as the world name. Note the matching world ID and its -index file.

Select a snapshot​

  1. In the file manager, compare the modified times of the numbered copies for that world. Choose a copy from before the unwanted change.
  2. Open the matching -index file in a text editor.
  3. Change the value of latest to the number of the snapshot to restore. Valid values are 0 through 9.
  4. Save the index file and start the server.

The index selects the active save number; it does not create a separate copy. Keep the backup you made in step 3 until you have confirmed the restored world.

Verify the rollback​

Join the server and check that the world has the expected state. If the wrong snapshot loaded, stop the server, restore the saved copy of the directory, and try another numbered copy.

Sources​