Backups with rsync's --link-dest
are great, they let you keep backup daily versions of files with instant file
level access while being fast and relatively space efficient.
The code below prunes duplicates etc. from large collections of --link-dest based incremental backups when the overhead of the directory structure etc. starts to consume too much space.