Skip to main content

How to find the biggest files backed up by Backblaze

Look at the file /Library/Backblaze.bzpkg/bzdata/bzfilelists/bigfilelist.dat.

This is something I stumbled across in a Reddit comment by Brian Wilson, who was a co-founder and CTO at Backblaze. He shared some useful advice about debugging a backup:

The list of the very largest files on your system is found here:

/Library/Backblaze.bzpkg/bzdata/bzfilelists/bigfilelist.dat

There’s one line per file, and each line has three parts:

Here’s an example from my desktop Mac:

t 2261245289 /Users/alexwlchan/repos/alexwlchan.net/.git/objects/pack/pack-512675481a8ff1e5e00b84d4bc17e0bdec66fc55.pack

This tells us that Backblaze intends to back up this file (t) and the file is 2261245289 bytes in size, or about 2.3GB.

The list of largest files doesn’t seem to be sorted, so if you want to find the biggest files Backblaze will try to back up, this shell script will sort those files in increasing order of size:

cat /Library/Backblaze.bzpkg/bzdata/bzfilelists/bigfilelist.dat \
  | grep '^t' \
  | cut -b 3- \
  | sort -h