On 2019-02-13 05:57, backu...@kosowsky.org wrote:
Looking to finally move to V4.

Would love to eat my cake-and-have-it-too by eliminating all those
nasty linked pool files while preserving all my old V3 backups.

In the past I have done quite a bit of utility hacking into the V3
pool and tree structures so I am aware of the complexities at least in
V3 but I have no experience or knowledge of how trees and metadata are
stored in V4.

Has anyone written a clean migration utility that copies all backups
over (not just the latest)?

In a sense I have written half of it in the past in my
BackupPC_copyPcPool.pl.jjk that allows one to copy over BackupPC V3
archives by creating a text file download of the backup trees and then
a simple copy of the pool.

But I am not sure I have the time to write a new utility that would
dump this back into V4 format while converting the pool structure to
md5sum titling and organization.

Would you not just use this?

usage: BackupPC_migrateV3toV4 -a [-m] [-p] [-v]
       BackupPC_migrateV3toV4 -h host [-n V3backupNum] [-m] [-p] [-v]
  Options:
     -a              migrate all hosts and all backups
     -h host         migrate just a specific host
     -n V3backupNum  migrate specific host backup; does all V3 backups
                     for that host if not specified
-m don't migrate anything; just print what would be done
     -p              don't print progress information
     -v              verbose
_______________________________________________
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/

Reply via email to