Question

Snapshot w/o downtime

I have a 1gb droplet. I have automatic backups. I’d like to run a snapshot (to save a particular clean state), but I don’t want downtime (it’s my only production server).

One post says that for a 1gb server you don’t need to shut down, but I get: Droplet is currently on. Please power it off to run this event.

Is there another way? I could use rsnapshot, but can I do a full system restore from an rsnapshot image? (that would be better, because I could save it on my large NAS).

Thanks!


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.

Never thought of that, thanks! By chance, do you (or anyone else, for that matter) happen to have such a script – so I can share it on: <a href=“https://github.com/DigitalOcean-User-Projects”>DigitalOcean User Projects | GitHub</a>?

@Pablo: You can schedule it by setting up a cronjob that takes a snapshot of a droplet via the API.

You can’t create a snapshot without downtime or shutting off your droplet. The best you can do is like what @pablo said, schedule your snapshot when there are least traffic in your site.

Better yet, if you can afford, schedule a backup at your DO dashboard. Backups are pretty cheap anyway, $1 per month if you are running the 512MB droplet, or 10% of your droplet MSF.