I have 2 separate v3 backup trees, that have been run on 2 separate v3 BackupPC servers, say A and B.
I would like to migrate both of them to a new combined v4 backup tree, say C. I believe the following will work based on looking at the code for BackupPC_migrateV3toV4. 1. Migrate A to v4 using: BackupPC_migrateV3toV4 2. Copy the pc trees from B that you want to migrate to the pc tree of the now migrated A [Copy only the tree, not the pools] 3. Use BackupPC_fixBackupSummary to add the new backups from B to the Backups files for each host on A (note you may need to do some renumbering to prevent backup collisions) 4. Again run BackupPC_migrateV3toV4 5. The resulting pc tree should now contain upgraded versions of both A and B, yielding the desired new merged backup tree, C. I think this will work since I believe that BackupPC_migrateV3toV4 doesn't look at the pool/cpool but rather reads the files directly from the v3 tree (which was previously hard linked to the pool/cpool but now is no longer after copying from A). Also, BackupPC_migrateV3toV4 tests for the unlikely event of md5sum collisions so any new files will be added to the new pool/cpool while any duplicate files won't. Does this make sense? If so, I will test it out and report back... _______________________________________________ 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/