Question

How to backup Spaces?

Posted May 12, 2018 7.6k views
Backups

How can I backup the data on a Space? There are many articles on backing up TO a space but if the space if your primary storage, is there an easy way to snapshot/copy a space?

3 comments
  • This is something we really want to have available to us as well. Weekly or monthly backups of Spaces would give us real peace of mind. It would be catastrophic if we lost all our clients assets.
    Can anyone from DO confirm whether this could be a potential new feature? I’m sure it would be a popular one and a potential upsell bringing in more revenue.

  • FYI we ended up using the rclone tool to setup automated backups from DO Spaces to Wasabi. It’s been working great.

  • No answer from DO..... well,the good thing, is that all libraries are compatible with S3, which offers backups… so easy migration....

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.

×
5 answers

We were thinking of using Digital Ocean Spaces for backups of an app minus some static client assets. Those asets we wanted to store and load directly from one DO Spaces bucket (including its awesome CDN. The app minus those assets we would daily backup in another DO Spaces bucket. If the separate static assets we load of the Digital Ocean storage bucket dies we lose all these client files.

So the main thing we were wondering about is what guarantees you give for preserving the data. We do not just want to backup using Transmit or something to backup our buckets. That would be tedious and make us store things locally which is not that reliable either. If we store static assets on Digital Ocean Spaces do we need to / do you recommend us to add a secondary backup with another Digital Ocean Spaces bucket or even elsewhere?

Yes. The s3cmd tool which can be used with spaces has the option --recursive that will allow you to download an entire bucket locally. You can find some examples here.

There are also options that will allow you to mount your Space on your computer. Once mounted you would be able to use any backup solution that allows you to back up files on your computer.

Pondering the same question. I’m thinking that since I have to process the files anyway, perhaps I’ll save on a block storage device attached to the server, and then use the API to upload this file to Spaces. That way I’ll have two copies at least. I’ll then need to have a separate process to make an off-DO backup from the block storage.

  • Would just so tedious to set up these kind of process when you potentially have 30 or so sites each with their own bucket. Their automated backups service for droplets is great with just a few clicks, i just don’t know why they don’t offer the same service for spaces :(

Was also wondering about this. We consider Digital Ocean Spaces to store all our static project files like .css m .js, .jpg, .png and so on. But when we do we would like to be able to backup that data as well. @ryanpq mentions backing up locally, but we basically look for an option to automate backing up a Space to another server location.

Thinking about the same question here.

We know we can download the contents of our space to either via the DO-UI or using a s3cmd, but that would mean backups count towards our transfer quota, correct? What guarantees does DO provide for data on Spaces?

Cheers,

Submit an Answer