# Store files and backups

> Order Object Storage, upload files in the dashboard and with an S3 client, and keep snapshots of a server, from start to finish.

Source: https://www.coritan.com/docs/get-started/store-files-and-backups/

In the dashboard:

- /dashboard/storage: https://www.coritan.com/dashboard/storage
- /dashboard/order/object-storage: https://www.coritan.com/dashboard/order/object-storage
- /dashboard/storage/…/buckets: https://www.coritan.com/dashboard/storage
- /dashboard/storage/…/keys: https://www.coritan.com/dashboard/storage
- /dashboard/servers/…/snapshots: https://www.coritan.com/dashboard/servers
- /dashboard/snapshots: https://www.coritan.com/dashboard/snapshots

This tutorial gives your files a home in Object Storage and keeps copies of a server that you can restore. You order Object Storage with a first bucket, upload a file in the dashboard, connect the AWS CLI with an access key to upload a whole folder, and take a snapshot of a server. Each section ends with something you can check before you go on.

Object Storage costs the plan you choose. Each plan includes an allowance of storage and names the rate for storage above it ([How Object Storage is billed](/docs/object-storage/usage-and-billing/)). Snapshots use the snapshot storage that each server plan includes, and more storage is a service of its own ([How snapshots are billed](/docs/snapshots/#how-snapshots-are-billed)). If buckets and snapshots are new to you, read [Object storage compared with a disk](/docs/learn/object-storage/) and [How backups and snapshots protect your data](/docs/learn/backups-and-snapshots/) first.

## Before you begin

- A Coritan account. [Create an account](/docs/get-started/create-an-account/) if you have none, then sign in.
- Credit for the first invoice, or a card or PayPal to pay it when you order ([Add credit to your balance](/docs/billing/add-credit/)).
- For section 3, a recent AWS CLI on your computer, and outgoing HTTPS allowed on TCP port `7337`.
- For section 4, a Container Apps server. [Run an app or a database](/docs/get-started/run-an-app-or-a-database/#4-order-the-database-server) orders one.

## 1. Order Object Storage

1. In the dashboard, go to [Object Storage](https://www.coritan.com/dashboard/storage) and select **Order Object Storage**.
2. Under **Plan**, choose a plan, and the billing cycle with the buttons beside the **Plan** heading.
3. Under **Region**, choose the region closest to the machines and people that use the files. Each bucket answers only at its own region's endpoint.
4. Under **First bucket**, type `backups` in **Bucket name**. Coritan puts your account's prefix in front, and the hint shows the full name, such as `We create it as u7-backups.`
5. Check the summary under **Your order**, then select the button under it. It reads **Place order** when your credit pays for it, and **Place order and pay** when you pay on the next page.
6. If the order's page reads **Order placed, payment due**, pay under **Pay invoice**.

The order's page title becomes **Your order is ready** once the service is active. Reload the **Object Storage** page, and the service shows the status `active` ([Order Object Storage](/docs/object-storage/order-object-storage/)).

## 2. Upload a file in the dashboard

1. Open the service from the **Object Storage** page and select the **Buckets** tab.
2. Select the bucket's name, such as `u7-backups`, to open its object browser.
3. Select **Upload…** and choose a file, or drag it from your computer onto the list.

The **Transfers** panel at the bottom right follows the upload, and the file appears in the list with its **Size**. Select its name to download it again ([Upload, download and delete objects](/docs/object-storage/objects/)).

## 3. Connect the AWS CLI

The dashboard uploads one file at a time. An S3 client such as the AWS CLI uploads whole folders, and your scripts can use it for backups.

1. On the service's **Access keys** tab, select **Create key…**.
2. In **Label**, type where you use the key, such as `laptop`. Under **Permissions**, choose **Read and write**. Under **Scope**, choose the bucket `u7-backups`.
3. Select **Create key**.
4. Under **Save the secret key now**, the dialog shows two blocks for a profile called `coritan`. Paste the first into `~/.aws/credentials` and the second into `~/.aws/config` on your computer.
5. Store the secret key in a password manager, then select **I have saved it**. The dashboard never shows it again.
6. Wait a couple of minutes for the key to reach storage, then upload a folder and list the bucket:

   ```bash
   aws --profile coritan s3 sync ./site/ s3://u7-backups/site/
   aws --profile coritan s3 ls s3://u7-backups/site/
   ```

The list shows the files from your folder, and the object browser shows them in a `site` folder ([Create and revoke access keys](/docs/object-storage/access-keys/), [Connect an S3 client](/docs/object-storage/connect-an-s3-client/)).

## 4. Take a snapshot of a server

A snapshot is an archive of a server's files. It belongs to your account, so it stays after the server is gone, and you can restore it onto any of your servers.

1. In the dashboard, go to [Container Apps](https://www.coritan.com/dashboard/servers), open the server and select the **Snapshots** tab.
2. Select **Take snapshot…**. The dialog shows the server's disk usage against what is left of your allowance, under **Estimated size against what is left**.
3. Keep the suggested **Name**, such as `snapshot-2026-09-25-1430`, or type your own.
4. Tick **Lock this snapshot** to keep it from being deleted by accident.
5. Select **Take snapshot**.

The snapshot appears on the server's **Snapshots** tab and on the account's [Snapshots](https://www.coritan.com/dashboard/snapshots) page, with a **Locked** badge. Select **Ready** on that page to see only the snapshots you can restore ([Take a server snapshot](/docs/managed-containers/snapshots/)).

A snapshot holds the server's files only. It leaves out the databases on the server's **Databases** tab, so export those with a MySQL client. A Cloud Compute instance keeps its snapshots and backups on its own tabs ([Back up and restore an instance](/docs/cloud-compute/backups/)).

## Troubleshooting

`InvalidAccessKeyId`
: The key has not reached storage yet. Wait a couple of minutes, then try again.

`NoSuchBucket`
: The client sent the request to another region's endpoint. Use the endpoint the key's dialog gave, which ends in `:7337` ([Connect an S3 client](/docs/object-storage/connect-an-s3-client/#the-settings)).

**Not enough snapshot storage**
: The snapshot would not fit what is left of your allowance. Delete an old snapshot, or select **Order more storage** ([Order more snapshot storage](/docs/snapshots/add-snapshot-storage/)).

## Next steps

- [Restore a snapshot onto a server](/docs/snapshots/restore-a-snapshot/)
- [Schedule server tasks](/docs/managed-containers/schedules/), to take snapshots on a timetable
- [Share a file with a presigned URL](/docs/object-storage/objects/#share-a-file-with-a-presigned-url)
