How to reduce snapshot size
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.
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.×