> When I do this:
> bash-2.04$ find cpool/ -mtime 60 > /var/bsibackups/backuppc/old_files
> I get a listing of 5,623 files. The oldest backup I have listed is 54
> days. What's up with these 5623 files? Can I safely delete them?
No. The mtime of the pool file is whenever that pool file was
first created (ie: the time that file was seen for the first
time and backed up). Everytime that file is seen again (anywhere
on any machine) that same file is simply hard-linked to, and the
mtime doesn't change. (The mtime of the file on the client is
stored seperately, so identical files with different meta-data
like mtime are still pooled.) So there will be many old files in
the pool that are still in use.
Unused files in the pool have exactly one link. If this command
produces lots of output then BackupPC_nightly is not doing its job
(or lots of backups have expired since BackupPC_nightly last ran):
find cpool/ -type f -links 1 -print
BTW, -mtime 60 means exactly 60 days; -mtime +60 means anything more
than 60 days.