Question

How is the best way to back up Spaces buckets?

Posted June 16, 2021 139 views
Backups

I am thinking about to migrate my Min.io file server to use the Spaces service to store files.

My point is: Where could do back up files? For N problems like wrong deletion, disaster recover, etc.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello @bsbeats ,

At the moment, there is no direct way to back up the Spaces on our platforms.However, you can still achieve this by choosing the best suitable method for your use from the various methods provided below.

  1. Can create a space in a different region and copy the files using tools like rclone.

https://www.digitalocean.com/community/tutorials/how-to-transfer-digitalocean-spaces-between-regions-using-rclone

  1. Can use tools like s3cmd to download the files and have them saved in your local repositories. You can setup s3cmd by referring to the link given below: https://www.digitalocean.com/docs/spaces/resources/s3cmd/

Once the s3cmd setup is done, you can use s3cmd command to download files
recursively in spaces.

s3cmd sync s3://bucketnamehere/folder /destination/folder

  1. Using third-party tools like GoodSync. Goodsync - https://yetimedia.be/en/backing-up-digital-ocean-spaces-with-goodsync/

Hope this helps!

Cheers,
Sri Charan

by Brian Boucheron
DigitalOcean Spaces is an object storage service designed to make it easy and cost effective to store and serve large amounts of data. In this guide, we will cover how to migrate data between Spaces regions, by using…