Question

How is the best way to back up Spaces buckets?

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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