Report this

What is the reason for this report?

How to reduce snapshot size

Posted on June 3, 2016

I am doing snapshots recently to backup my data. But their size is growing. Even when i do the cleanup, the snapshot size remains the same as it was before. Few days ago because of my fault, my script filled all avaliable 20 gb space, i deleted al those files, so i have 7 gb free now but myand so snapshots are now 20 gb sized (and their creation time is 20 minutes!).

I think the snapshot size may be growing because of ‘rm -rf’ may only mark data as ‘deleted’ but do not ‘annulate’ disk space and DO snapshot burner copies that as well. IDK how linux file deletion happens, correct me if i’m wrong.

I think the easiest way to fix it is to create new droplet and copy everything to it. But please help if you encounted that problem and know a better way to fixed.

My snapshots

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.