By webprotime
What is the proper way to take a backup of a droplet?
How do the snapshots work? Can I restore my whole Droplet using snapshot? the database and files and the system config is everything restorable using a snapshot? Do you have an Existing guide for this?
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!
Hi @webprotime,
DigitalOcean have pretty good articles/docs on both Snapshots and backups. You can check them by using the following links:
Snapshots
Backups
Now, the basic differences are
Backups
Backups are taken once per week, and each backup is retained for four weeks. tBackups are stored in the same datacenter as the corresponding Droplet.
You can enable backups for any Droplet, but they may not be ideal for Droplets with heavy I/O workloads, such as database servers, because disk writes have degraded performance while the backup is being created.
Snapshots
Snapshots provide a full copy of a DigitalOcean Droplet or volume. Creating a snapshot saves everything from the Droplet or volume’s disk to a disk image saved in your DigitalOcean account. They’re an easy way to archive a Droplet or volume at a point in time.
You can use snapshots to create new Droplets or volumes with the same contents of the snapshot. You can back up the contents of a block storage volume, restore a Droplet to the point in time when a snapshot was taken, or migrate a Droplet to a different region.
For more information, I’ll recommend going through the docs. If you still have some questions after reading them, please ask as much as you want!
Regards, KDSYs
@webprotime, in addition to what KFSys has mentioned, I would like to add that you could use a backup automation service that supports DigitalOcean like ours (SimpleBackup) to get:
This will give you the flexibility to:
Laurent
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.