Question

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?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.