# Keep your backups on your own file storage

Install file storage on a server, make a bucket for backups in one step and back up that server's databases and sites into it.

You can keep a server's backups in file storage on that same server instead of paying for storage elsewhere. It protects you from mistakes, such as a deleted table or a broken update. It does not protect you if the whole server is lost, so keep a copy of the most important backups somewhere else too.

## What you need

- The **Pro** or **Business** plan.
- A server with enough free disk for its backups.

## Steps

1. **Install the file storage.**

   Open the server, then **Services**, **Install a service**, **File storage compatible with S3**. Choose an address for its console. When it is installed, the server's menu gets **File storage**.

2. **Make the backup storage in one step.**

   Open **File storage**, choose **Read now**, then under **Keep the team's backups here** type a bucket name such as `team-backups` and choose **Keep backups here**. Fuzops:

   1. makes the bucket;
   2. makes a key that may only use that bucket;
   3. adds it to your team's backup storages;
   4. tests it from this server.

   The new storage appears under **Team and settings** › **Backup storage**, named after the server and the bucket.

3. **Back up into it.**

   Open the server's **Backups**, choose what to back up (a database, or a site), and pick the new storage. Run **Back up now** once and check that it succeeds.

   > [!NOTE]
   > The storage answers on its own server only: backups of your other servers cannot reach it.

4. **Keep an eye on its disk.**

   The **File storage** page shows how much of its disk the storage takes. On the bucket, **Delete files after** a number of days keeps old files from piling up; the backups' own "keep the last" setting does the same.

   See [File storage](https://internal.fuzops.com/docs/file-storage) and [Backups](https://internal.fuzops.com/docs/backups).

## What you should see

The new storage reads **tested** on the File storage page, and the first backup into it succeeds under **Backups**.

## If it goes wrong

- If the test of the storage fails, read the storage's log with **See its log** at the top of the File storage page.
- If a backup fails, its output on the Backups page names the cause.
- See [File storage](https://internal.fuzops.com/docs/file-storage) and [Backups](https://internal.fuzops.com/docs/backups).
