How to backup Spaces?

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?


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

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.

I am also interested to know how to do that, specially in a way that would preserves the metadata as well as the files.

Curious about this as well, would be good to get some update or an easy way to do this.

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

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.

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.

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.

@flowster, do you keep on doing this approach?

@admin95d0fe06fec6c45adacb9 re. ryanpq previous answer:

s3cmd get --recursive --force s3://bucket/subdirwithothersubdirsinit/ localbucket/subdirwithothersubdirsinit/ will pull all files and ‘subdirectories’

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?