Digitalocean snapshots over 100gb for no reason

June 19, 2018 715 views
DigitalOcean Backups Ubuntu 16.04

Creating a snapshot of my 11gb website, 160GB droplet and the snapshot size is over 100GB!

Ran GT5 and df -h and no filesystem or partitions are oversized, and the main filesystem still has 140 gb available...

Site is running wordpress and memory/cpu are all normal

Does anyone have any ideas as to why the snapshot size is over 100GB when i dont have 100GB of files on the droplet? Must be making a snapshot of non existant data or something?

3 Answers
snapshooter June 19, 2018
Accepted Answer

Hello Matt,

Full disclosure I run a product called SnapShooter which takes backups of DigitalOcean servers.

I have noticed this issue with a couple of my customers over the last couple of months. They were getting bigger and bigger backups. We have contacted DigitalOcean to find out more information.

From Support
Essentially, it's not unheard of for a Snapshot's size to vary and not reflect the used disk space amount on the Droplet. For instance, if you're written a lot of data but later deleted it, that space isn't automatically zeroed out in the disk.

Now one of my customers was getting the same issue with 10gb of diskspace working its way to 85gb. He got the same answer from support, but discovered on his own that a system reboot fixes the issues.

We are still working with DO to get an answer on this as it never used to happen. If I hear any more I will reply again.

Regards

Simon

Check your logs. I have seen instances where log files are huge in size.

  • I have had this problem before it was an issue with maria db but I can confirm that this isn't the issue this time.
    A reboot seems to have resolved the issue.
    Thank you all for your responses, I will close the ticket.

Sounds like it might be a good idea for DigitalOcean to add the suggestion of rebooting the droplet before creating the snapshot, to their snapshot instructions.

Wayne Sallee
Wayne@WayneSallee.com

Have another answer? Share your knowledge.