Hi there, On Sat, 24 Aug 2024, Kenneth Porter wrote:
Is there a script that can iterate over all pc files to find the ones that match a pool file?
https://github.com/backuppc/backuppc/wiki/How-to-find-which-backups-reference-a-particular-pool-file Also check the archives e.g. for work by Mr. Kosowsky.
I've found some corrupt pool files and am trying to figure out my exposure. What does BPC do when it encounters such a bad file (when its checksum doesn't match its name) during the nightly scan?
https://narkive.com/JvAkYHp4.4
Also, how does BPC know that a pool file is no longer in use? Is there a count of how many pc files are using it?
$ head -n 20 /usr/local/BackupPC/bin/BackupPC_nightly #!/usr/bin/perl #============================================================= -*-perl-*- # # BackupPC_nightly: Nightly cleanup & statistics script. # # DESCRIPTION # # BackupPC_nightly performs several administrative tasks: # # - monthly aging of per-PC log files (only with -m option) # # - updating reference counts for V4+ backups # # - pruning files from pool no longer used (ie: those with only one # hard link in V3, or a reference count of zero for V4+) # # - sending email to users and administrators (only with -m option) # # Usage: BackupPC_nightly [-m] [-r] [-p] [-P phase] poolRangeStart poolRangeEnd # $ -- 73, Ged. Re: Find pc files from pool file name (checksum) _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/