How to setup remote backup for DigitalOcean Spaces Print

  • 0

Introduction

DigitalOcean provides an S3 environment for a storage solution called Spaces. Spaces is an S3-compatible object storage service that lets you store and serve large amounts of data. Each Space is a bucket for you to store and serve files. The free, built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.

 

Digitalocean Spaces

 

 

Procedure

The following information is detailed on how to set up a remote backup using their spaces.

 

When you create a space, they will generally provide an email with the following infomration:

 

Your Space's origin URL:  https://bucketspace.nyc3.digitaloceanspaces.com

Personal Access Tokens: 

Spaces Access Key ID:

 

Backup Configuration Additional Destinations

 

Setting Description
Destination Name Required — Enter a destination name for your backup files. This name appears in your destination table.
Folder Enter the name of the directory where you wish to store your backup.
S3 Endpoint

Required — Enter the fully qualified domain name (FQDN) for the remote server where your bucket resides. The system backs up files to the destination server through a secured connection via SSL/TLS. The FQDN that you enter must be the same as the FQDN on the server’s SSL/TLS certificate, or the connection will fail. 

I.e., nyc3.digitaloceanspaces.com

Bucket

Required — Enter the name of the bucket where you wish to store your backup. You must first create the bucket through your S3-compatible provider.

I.e., bucketspace

Access Key ID Required — Enter the access key ID in this text box. Your server uses the access key to authenticate with your S3-compatible account. You must first generate an access key ID through your S3-compatible provider.
Secret Access Key Required — Enter the secret access key in this text box. You must first generate a secret access key ID through your S3-compatible provider.
Timeout Required — The maximum amount of time, in seconds, that you want the server to wait for a response from the remote server before it generates errors.
  • You must enter a number between 30 and 300.
  • If the server does not respond before the time expires, it makes two additional attempts to contact the server.
  • If the server does not respond after those attempts, the system administrator receives an email that notes the failed attempts. The system will retry the transfer when it reruns the backup process.

 

Now click on Save and Validate.

 

If validation was a success, that means that your server can now access DigitalOcean space and that it can copy server backups there. To finish the setup, you can switch back to the Backup Settings tab and configure all other things related to your backups (what to backup, how, and when).


Was this answer helpful?
Back

Send Message