# DigitalOcean

Automate DigitalOcean server and volume snapshots on a custom schedule.

SimpleBackups integrates with DigitalOcean through an OAuth authorization flow, allowing you to automate droplet and volume snapshots. You can schedule snapshots daily, weekly, hourly, or on-demand through the API, and configure retention to automatically rotate older snapshots.

## Connect DigitalOcean to SimpleBackups

1. Go to the [**Snapshots/Create**](https://my.simplebackups.com/snapshot/create) page in SimpleBackups
2. Click **Connect a new provider**

![SimpleBackups - Connect a new provider](https://simplebackups.com/docs/docs-assets/www-notion-so/e6241e0cd46fe0d42906.png)

3. Select **DigitalOcean** from the **Provider** dropdown, enter a name for your account, and click **Connect DigitalOcean**

![SimpleBackups - Select DigitalOcean provider](https://simplebackups.com/docs/docs-assets/www-notion-so/8ea343b3ba3a0fe48913.png)

4. You will be redirected to DigitalOcean's login screen. Make sure you are logged in to the correct DigitalOcean account, leave the checkbox next to your account email checked, and click **Authorize application**

![DigitalOcean - Authorize SimpleBackups](https://simplebackups.com/docs/docs-assets/www-notion-so/84f82fc39094de4889dc.png)

## Create a snapshot backup job

After connecting your DigitalOcean account, you can create a snapshot job.

![SimpleBackups - Snapshot job form](https://simplebackups.com/docs/docs-assets/www-notion-so/8cde5c4affeed5c2ccdb.png)

1. **Account**: Choose the DigitalOcean account you want to use. You can connect multiple DigitalOcean accounts to SimpleBackups.
2. **Resource type and resource**: Select either a server (droplet) or a volume. The **Resource** dropdown lists all resources available under your DigitalOcean account.
3. **Retention**: Set the number of snapshots to keep. Older snapshots beyond this number are automatically rotated.
4. **Name and save**: Give your snapshot job a descriptive name and click **Create Snapshot**.

![SimpleBackups - Snapshot job created](https://simplebackups.com/docs/docs-assets/www-notion-so/c269da328147cb488a77.png)

You can trigger your first snapshot manually using the **Run** button from the snapshots list.

## Restore a droplet snapshot

To restore a droplet from a snapshot on DigitalOcean:

1. In the DigitalOcean dashboard, click **Images**
2. Click **Snapshots**, then **Droplets**
3. Find the snapshot you want to restore and click **More**
4. Select **Restore Droplet**

![DigitalOcean - Restore a droplet snapshot](https://simplebackups.com/docs/docs-assets/www-notion-so/a1f7e99f36e4cb10da41.png)

## Multi-region snapshots

When creating a DigitalOcean snapshot job, you can transfer the snapshot to multiple regions. This is useful for disaster recovery if the original region experiences an outage.

**Info:**
Transferring a snapshot to other regions creates a copy. The snapshot remains available in the original region.

1. Select the regions you want the snapshot copied to
2. When the snapshot runs, it is automatically transferred to all selected regions

![SimpleBackups - Multi-region snapshot configuration](https://simplebackups.com/docs/docs-assets/media-helpkit-co/e8e6ac942ce27f6250d0.png)

## FAQ

**"DigitalOcean rate-limited - one request per 10m0s"**

This error can occur when running droplet or volume snapshots if your DigitalOcean account has not been verified yet. Verify your account in the DigitalOcean dashboard to resolve this.
