Back up and restore servers on DigitalOcean
Use this guide to create, manage, and restore from server snapshots and backups at DigitalOcean.
Backups vs. snapshots
DigitalOcean uses the following terminology:
- Backups — Images of a server’s disk created automatically by a daily or weekly schedule.
- Snapshots — Images of a server’s disk created by you.
Snapshots
A snapshot contains the full contents of a server’s disk at the time the snapshot was created. Snapshots are created manually through the DigitalOcean dashboard.
Create a snapshot
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Snapshots.
- In the Take snapshot section, enter a unique Snapshot name
that identifies the purpose of the snapshot, for example:
my-server-before-upgrade-to-ubuntu-2404
my-server-after-upgrade-to-ubuntu-2404
- Click Take live snapshot.
Delete a snapshot
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Snapshots.
- In the Droplet snapshots section, find the snapshot you want to delete and click More.
- Click Delete.
- In the confirmation box, click Delete snapshot.
Create a server from a snapshot
If the server you created the snapshot from still exists, use the following steps to create a server from the snapshot.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Snapshots.
- In the Droplet snapshots section, find the snapshot you want to create a server from and click More.
- Click Delete.
- In the confirmation box, click Delete snapshot.
If the server you created the snapshot from no longer exists, use the following steps to create a server from the snapshot.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click Create droplet.
- Select the Region and Datacenter the snapshot is in.
- In the Choose an image section, click Snapshot.
- Select the snapshot to create the new server from.
- Complete the rest of the steps to create a server.
Restore a server from a snapshot
To restore a server from a snapshot, do the following.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Snapshots.
- In the Droplet snapshots section, find the snapshot you want to create a server from and click More.
- Click Restore droplet.
- In the confirmation box, click Restore droplet.
Backups
A backup contains the full contents of a server’s disk at the time the backup was created. Backups are created automatically for servers that have backups enabled.
View backup settings
To view the current backup settings for a server, do the following.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Backups.
Enable backups
To enable backups for a server, do the following.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Backups.
- Click Setup automated backups.
- Click Enable backups.
Disable backups
To disable backups for a server, do the following.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Backups.
- Click Disable backups.
- Enter the name of the server.
- Click Disable automated backups.
Create a server from a backup
To create a new server from a backup, do the following.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Backups.
- In the Droplet backups section, find the snapshot you want to create a server from and click More.
- Click Create droplet.
- In the confirmation box, click Restore droplet.
- Complete the rest of the steps to create a server.
Restore a server from a backup
To restore a server from a backup, do the following.
- In the DigitalOcean dashboard, go to the Droplets page.
- Click on the name of the droplet.
- Click Backups.
- In the Droplet backups section, find the snapshot you want to create a server from and click More.
- Click Restore droplet.
- In the confirmation box, click Restore droplet.