Craig Barratt via BackupPC-users wrote at about 22:31:28 -0700 on Tuesday, June 9, 2020: > Jeff, > > The first method seems simpler. Don't you just have to mv the file based > on BackupPC_zcat file | md5sum? BackupPC_nightly shouldn't need to run > (other than to check you no longer get the missing error).
Yeah - that's exactly what I was saying... it's a 1 or 2 liner script. > > Btw, where did you find the missing pool files? I kept a copy of my old v3 pool... I also edited BackupPC_migrateV3toV4 to save (i.e. rename) the old pc tree rather than delete it... Then I could copy over the v4 to a new disk because no messy hard links, leaving me with my intact v3... Actually, it may not be a bad idea to add that as an option to BackupPC_migrateV3toV4 to allow preservation of the old... > > For the benefit of people on the list, Jeff and I are addressing the other > issues off-list. > > Craig > > On Tue, Jun 9, 2020 at 6:48 PM <backu...@kosowsky.org> wrote: > > > Of course, the unanswered interesting question is why did this small > > number of 37 files out of about 3.5M pool files fail to migrate > > properly from v3 to v4... > > > > Note: I ran as many checks before and after as possible on the pool > > and pc heirarchy integrity (using my old v3 routines I had written) as > > well as checked error messages from the migration itself. I also of > > course had the BackupPC service off... > > > > "" wrote at about 21:41:27 -0400 on Tuesday, June 9, 2020: > > > I found some of the missing v4 pool files (mentioned in an earlier > > > post) in a full-disk backup of my old v3 setup. > > > > > > I would like to add them back to the v4 pool to eliminate the missing > > > pool file messages and thus fix my backups. > > > > > > I can think of several ways: > > > > > > - Method A. > > > 1. Create a script to first BackupPC_zcat each recovered old v3 pool > > > file into a new file named by its uncompressed md5sum and then move > > > it appropriately into the v4 cpool 2-layer directory heirarchy. > > > > > > 2. Run BackupPC_nightly assuming that it will clean up the cpool ref > > > counts to coincide with the now correct pc-branch ref count > > > > > > - Method B > > > 1. BackupPC_zcat the recovered files from the v3 pool into a new > > > directory. Naming of the files is immaterial. > > > 2. Create a new temporary host and use that to backup the folder > > > 3. *Manually* delete the host by deleting the entire host folder > > > 4. Run BackupPC_nightly to correct the ref counts (assuming needed) > > > > > > - Method C > > > 1. Use some native code or routines that Craig may already have > > > written that do most or all of the above > > > > > > Any thoughts on which of these work and which way is preferable? > > > > > > Jeff > > > > > > > > > _______________________________________________ > > BackupPC-users mailing list > > BackupPC-users@lists.sourceforge.net > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > Wiki: http://backuppc.wiki.sourceforge.net > > Project: http://backuppc.sourceforge.net/ > > > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/