bit-team / backintime

Back In Time - An easy-to-use backup tool for GNU/Linux using rsync in the back
https://backintime.readthedocs.io
GNU General Public License v2.0
2.09k stars 207 forks source link

Find Backup Subdir sizes? #795

Closed benyanke closed 7 years ago

benyanke commented 7 years ago

I recently made a backup to a corporate network share, and it was far larger than I expected, so I had to delete it.

I was previously using deja dup, which was about 22G with my exclude rules. I thought I configured the same exclude rules, and backintime gave me an archive of about 220 GB. I probably missed a local VM's drive image in my exclude rule, or some such thing.

However, when I started to look around to find what caused it to be so big (the way you would run du * -sh on an actual filesystem), I found I couldn't find the size of subdirectories.

Is there any tooling or features to allow you to find the size of various directory trees so I can track down large files in my backups?

Germar commented 7 years ago

You can use every ordinary tool like du for this. I recommend using ncdu /path/to/backintime/HOST/USER/ID/last_snapshot/. Snapshots with Back in Time are just plain files which are hard-linked.

benyanke commented 7 years ago

What about for encrypted volumes?

Germar commented 7 years ago

Open BiT GUI and browse to the plain files in /home/USER/.local/share/backintime/mnt/HASH/mountpoint/backintime/HOST/USER/ID/last_snapshot