A bucket is a good off-site home for backups. Give each app or server its own Read and write key, so you can revoke one without touching the others.
WordPress: UpdraftPlus
- In WordPress, open UpdraftPlus → Settings.
- As remote storage, choose S3-Compatible (Generic) (or DigitalOcean Spaces).
- Enter your access key, secret key, the location
my-bucket/site-nameand the endpointfra1.digitaloceanspaces.com. - Click Test, then save.
WordPress: Phluit Backup
In Phluit Backup → Storage, add an S3-compatible destination with the same endpoint, bucket, access key and secret key.
Servers: restic
export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY
restic -r s3:https://fra1.digitaloceanspaces.com/my-bucket/server1 init
restic -r s3:https://fra1.digitaloceanspaces.com/my-bucket/server1 backup /var/wwwComputers: Duplicati
Storage type S3 compatible, server fra1.digitaloceanspaces.com, your bucket name, access key and secret key.
Keep backups safe
- Keep File listing on Restricted.
- Turn on Versioning if you want deleted or overwritten backups to be recoverable (old versions use storage). See Versioning.
- Choose a region different from where your site or server runs, so one problem can't take both.
Was this article helpful? Thanks for your feedback!
