How could I find the files occupying most space in a backup archive?
I have a LXC with around ~37GB of data (or so it seems). In my PVE host:
However my backups for this LXC are around ~60GB (!?), according to web UI.
BTW: how to get this size via command line?
I tried to mount the archive
But
I presume the difference in size is probably due to sparse files. Problem is: I have A LOT of them in this container.
I'm looking for a way to find the largest ones, hoping I can exclude some of them from backup.
I have a LXC with around ~37GB of data (or so it seems). In my PVE host:
Bash:
# du -sh /rpool/data/subvol-215-disk-0
37G /rpool/data/subvol-215-disk-0
However my backups for this LXC are around ~60GB (!?), according to web UI.
BTW: how to get this size via command line?
I tried to mount the archive
Bash:
proxmox-backup-client mount ct/215/2024-08-18T09:46:51Z root.pxar /mnt/tmp/
But
du
is not being very helpful:
Bash:
/mnt/tmp# du -sh *
0 bin
0 boot
0 dev
0 etc
...
I presume the difference in size is probably due to sparse files. Problem is: I have A LOT of them in this container.
I'm looking for a way to find the largest ones, hoping I can exclude some of them from backup.