Looking to store your WordPress backups safe on DigitalOcean Spaces? It’s a service made for storing all sorts of stuff, like pictures, videos, and even full website backups. What’s cool about it is that it’s not too pricey and can handle a lot of data, perfect for keeping your site’s info safe in the cloud.
In this guide, we’ll walk you through how to make a backup of your WordPress site using DigitalOcean Spaces!
Create a DigitalOcean Spaces Bucket
Let’s set up a new bucket on DigitalOcean Spaces for your site backups. Just go to your DigitalOcean control panel, click on the Spaces tab, and then hit the button that says Create a Spaces Bucket:
![image-4 - Duplicator](https://duplicator.com/wp-content/uploads/2024/02/image-4.png)
Choose the data center region based on your location, and name the new bucket:
![image-5 - Duplicator](https://duplicator.com/wp-content/uploads/2024/02/image-5.png)
Click on Create a Spaces Bucket again and remember the bucket name and datacenter region selected.
Copy Your Access Keys
Duplicator needs permission to make changes to your DigitalOcean Spaces bucket. To do this, you’ll need to generate API keys.
On the main Spaces page, find the API page link:
![DigitalOcean-Spaces-API - Duplicator - Duplicator DigitalOcean Spaces API](https://duplicator.com/wp-content/uploads/2023/10/DigitalOcean-Spaces-API.png)
Next, click on Generate New Key:
![Generate-DigitalOcean-Spaces-Key - Duplicator - Duplicator Generate DigitalOcean Spaces key](https://duplicator.com/wp-content/uploads/2023/10/Generate-DigitalOcean-Spaces-Key.png)
Name the access key and hit Create Access Key:
![New-Spaces-Access-Key - Duplicator - Duplicator New DigitalOcean Spaces access key](https://duplicator.com/wp-content/uploads/2023/10/New-Spaces-Access-Key.png)
You’ll then get a new access key and secret access key. Copy and save both of these:
![Copy-Spaces-Access-Keys - Duplicator - Duplicator Copy DigitalOcean Spaces access keys](https://duplicator.com/wp-content/uploads/2023/10/Copy-Spaces-Access-Keys.png)
Now you have everything you need to connect Duplicator and DigitalOcean Spaces!
Connect DigitalOcean Spaces to Duplicator
Head over to Duplicator Pro » Storage » Add New:
![Add-Storage-Location - Duplicator - Duplicator Add new storage location](https://duplicator.com/wp-content/uploads/2023/03/Add-Storage-Location.png)
Name the storage location and choose Digital Ocean Spaces as the Type:
![DigitalOcean-Spaces-Storage - Duplicator - Duplicator DigitalOcean Spaces storage](https://duplicator.com/wp-content/uploads/2023/10/DigitalOcean-Spaces-Storage.png)
In the Authorization section, paste your access keys, endpoint, and bucket name.
![Duplicator-DigitalOcean-Authorization - Duplicator - Duplicator Duplicator DigitalOcean Spaces authorization](https://duplicator.com/wp-content/uploads/2023/10/Duplicator-DigitalOcean-Authorization.png)
Instead of “region”, enter the region you chose when you made the bucket.
The Region field will be automatically filled after you add the endpoint. For the Max Packages value, you can decide how many backups to keep in DigitalOcean Spaces. Once you exceed this number, Duplicator will delete an old backup. This prevents you from overloading your storage space:
![Cloud-Storage-Settings - Duplicator - Duplicator Duplicator cloud storage settings](https://duplicator.com/wp-content/uploads/2023/09/Cloud-Storage-Settings.png)
Save the new storage provider.
Now, when you are all set, you can automate your backup by scheduling it. Please see the guide to Create Automated Backup.