Our shop is closed while we rebuild it. Get an email when it opens
  1. Home
  2. Guides
  3. How to back up a game server world

How to back up a game server world

Find the folder that holds your world, copy it somewhere else while the server is stopped (or, in Minecraft, with /save-off and /save-all flush), and keep dated copies. Try a restore once so you know it works.

What a backup is, and why it matters

A backup is a copy of your world saved somewhere else. Worlds get lost in boring ways: a bad update, a crash while saving, a mod that breaks things, a setting changed by mistake. A backup turns "we lost three months of building" into "we lost an evening".

The idea is the same in every game: find the folder that holds the world, copy it somewhere safe, and know how to put it back.

The golden rules

  1. Copy the world while it is not being written to. Either stop the server first, or use the game's own way of pausing saves (Minecraft has one, below).
  2. Keep the copy somewhere else. A copy on the same disk as the world disappears with it. Use your own PC, a USB drive or cloud storage.
  3. Back up before anything risky: a game update, adding mods, changing world settings.
  4. Name each copy with the date, for example world-2026-12-02, so you can tell which is which.
  5. Try restoring once. A backup you have never restored is a hope, not a backup.

Where the world lives, game by game

Minecraft (Java Edition)

The world is a folder. By default it is called world, and the level-name setting in server.properties decides the name. To back up a running server without stopping it, use the commands the Minecraft wiki documents:

  1. /save-off stops the server writing to the world files. Changes are held in a queue.
  2. /save-all flush writes everything to disk straight away. The wiki warns it freezes the server for a short time.
  3. Copy the world folder.
  4. /save-on lets the server write to the files again.

Or the simple way: type /stop, which the wiki says saves all changes to disk and then shuts the server down, copy the folder, then start the server again. The wiki also says /save-off resets when the server restarts, so do not forget /save-on.

Terraria

A Terraria world is a single file (the wiki's example is named world1.wld). Characters are separate and live on each player's own computer. On Linux the wiki gives the folder as ~/.local/share/Terraria/Worlds/ and on macOS as ~/Library/Application Support/Terraria/Worlds. If your serverconfig.txt sets worldpath=, the worlds are in the folder you named there.

In the server console, save saves the world, and exit saves and shuts the server down. Copy the world file afterwards.

Rust

Rust's documentation says the server's files go in a folder named after +server.identity. If you started the server with +server.identity "server1", the folder is called server1. Its settings file, server.cfg, lives in a cfg folder inside it. Back up the whole identity folder, with the server stopped.

ARK: Survival Evolved

The ARK wiki says the ShooterGame/Saved folder "contains all tribe, player and world data, as well configuration files, logs and cluster data". Back that folder up, with the server stopped.

7 Days to Die

The documentation we read does not give a default save location. It does say the UserDataFolder setting in serverconfig.xml decides where world and save data is kept when it is set. If it is not set, ask whoever runs your server, or use your control panel's file manager to find the save folder, and copy it with the server stopped.

On a rented server

Managing files is one of the jobs of a control panel, so look there for a way to download the world folder to your own PC. Whether your host also keeps copies is up to them, so ask before relying on it. Do not assume "somebody else backs it up".

Putting a backup back

  1. Stop the server.
  2. Rename the current world folder (for example to world-broken) rather than deleting it. You may want to look inside it later.
  3. Copy the backup in under the original name.
  4. Start the server and check your base is still there.

How often?

There is no magic number, so choose by asking how much play you can afford to lose. Many groups copy once a week and always before updates and mod changes. If your group builds hard every evening, copy more often.

Game pages that go with this guide

Quick answers

How do I back up a Minecraft server without stopping it?

Run /save-off, then /save-all flush, copy the world folder, and finish with /save-on.

Where does a Terraria server keep its world?

In a single world file inside a Worlds folder. The Terraria Wiki gives ~/.local/share/Terraria/Worlds/ on Linux, and a worldpath setting in serverconfig.txt can name another folder.

Sources (read 2 December 2026):

Want a server of your own one day?

Our shop is closed while we rebuild it. If you would like an email when it opens, leave your address here.

More guides

All guides