Question

How to backup droplet/whole server to my own storage?

Hello, I’m aware that DO offer snapshots and backups. But are still stored by DO. I would also would like to be able to store my own backup.

What’s the best solution to backup my whole (ubuntu) droplet, for example save to my own NAS? Ideally it would be incremental as a snapshot. A solution that could restore the droplet.

Thanks for any advice.


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.

Hello friend!

Excellent question. While external backups cannot be as easily restored as our snapshots/backups, you should always keep copies of your data off site just in case.

Personally I would use rsync, and I have a guide for that: https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps

There are easily hundreds of ways to go about this, if not more, but rsync is always a favorite of mine for it’s excessive simplicity. Honestly, a raspberry pi hooked up to an external drive sitting on a shelf in the house could do this for you. Set a cron job and let it do it’s thing :)

Kind Regards, Jarland

This is a use case that some of the customers at SnapShooter use to get their droplet data within there own control.

https://i.imgur.com/Utbl6ap.png https://twitter.com/alexjustesen/status/1327724259825885193

https://min.io/ Will allow you to host an S3 compatible storage container at on your own storage. You might find that your NAS will support it out the box. If you make this public-facing you are then free to use awscli or what we prefer rclone to copy your data locally.

At SnapShooter we enable just this setup for Server/Droplet File Backups We have a free plan for one backup daily or if you want help setting it up yourself just let me know.

Regards

Simon CEO SnapShooter

I often have the same questions, so I wrote an article explaining how DigitalOcean Backup service actually works, when to use it and why you should complement it with something else.

And you’re right, bottom line, you shouldn’t for any production app solely rely on Snapshots. Combining Snapshots with actual database & file backup is the way to go (not one or the other but well both).

For the Snapshot, you won’t have the option to store them outside of DigitalOcean. But when it comes to file or database backups, it’s up to you (depending on the solution you pick).