# Back up and restore your game server
A backup is a snapshot of your server's whole data volume at one moment: worlds, configs, mods, plugins and everything else in its files. You can roll the server back to it later.

Open the server and pick **Backups** in the side menu.

## Take a backup

1. Click **Create Backup**.
2. Optionally type a **Name**, such as `before-1.21-update` (up to 64 characters: letters, numbers, spaces, hyphens, underscores and dots). Leave it empty to get a dated name.
3. Click **Create Backup**.

The backup shows **Creating…** and then **Ready**. Only a **Ready** backup can be restored. If one ends as **Failed**, delete it and try again.

:::tip{title="Save the world first"}

A backup taken while the server runs captures the files as they are on disk at that moment. On Minecraft, run `save-all` in **Console** just before, or stop the server, so the world is fully written.

:::

A server keeps up to 10 backups. When you reach the limit, **Create Backup** is disabled and says **Backup limit reached**: delete an old one first. You cannot start a backup while another backup or a restore is running.

## Back up automatically

Backups are not taken for you by default. To get one every night, use a schedule:

1. Open **Schedules** at the top of the server page.
2. Click **Create schedule**, give it a name, choose **Daily** and a time, and save it.
3. On the new schedule, click **Add task**, pick the server under **Instance** and choose **Create backup** as the **Task type**.

Scheduled backups count towards the 10 like any other, and they are not deleted for you. Check **Backups** now and then and delete the old ones, or the schedule starts failing once the limit is reached.

## Restore a backup

:::danger{title="A restore replaces everything since the backup"}

Restoring puts the whole server back to the moment the backup was taken. **Everything that changed after it is lost**: world progress, new player data, config edits, uploaded files. If you might want the current state back, take a backup of it first.

:::

1. On the backup's row, click **Restore**.
2. Read the warning: "This replaces all current server data with the contents of" the backup. Your server stops while the backup is restored and starts again by itself when it is done.
3. Click **Restore** to confirm.

While it runs, the server page shows **Restoring a backup since** and the time it started. Until it finishes you cannot start, stop or restart the server, or change its setup, SFTP or imports; those buttons come back by themselves. A restore takes a few minutes, longer on big servers.

## Delete a backup

Click **Delete** on its row and confirm. This permanently deletes the backup and cannot be undone. A backup that is still **Creating…** or **Restoring…** cannot be deleted.

## Keep a copy somewhere else

Backups are stored with the server and are removed if the server is deleted. There is no download button for a backup. To keep a copy on your own computer, download the server's files over SFTP or compress them in the file manager and download the archive; see [Manage your server files and connect over SFTP](/game-servers/files-and-sftp).

## Frequently asked questions

<details>
  <summary>Can I restore just one file or just the world?</summary>

No, a restore always replaces the whole server. To get one file back, take a backup of the current state first, restore the old backup, download the file you need, restore the backup you just took, and upload the file again.

</details>

<details>
  <summary>Does a backup include the server's settings and plan?</summary>

It includes everything in the server's files, such as `server.properties`, `server.cfg`, mods and worlds. Your plan, the game version chosen in **Configuration**, ports and domains are not part of a backup and do not change when you restore.

</details>

<details>
  <summary>I need a backup from before my earliest one.</summary>

Only the backups listed on **Backups** can be restored. Zaroz also keeps its own disaster-recovery copies of the platform, but those are not available as customer restores.

</details>
