BackupPC-users

Re: [BackupPC-users] Merging backups

2009-10-16 15:56:51
Subject: Re: [BackupPC-users] Merging backups
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Peter Walter <pwalter AT itlsys DOT com>
Date: Fri, 16 Oct 2009 12:53:58 -0700
Peter writes:

> Tyler J. Wagner wrote:
> > Isn't this just a matter renaming/moving directories in 
> > /var/lib/backuppc/pc?
> >
> > mv /var/lib/backuppc/pc/hostname2/0 /var/lib/backuppc/pc/hostname1/31
> >
> > etc.  Plus the logs.
> >
> > Tyler
> >
> I will try that. Thanks for the tip.

You have to do more than that.  You also need to merge (concatentate)
the backups files, and change the first entry of each line so that
matches the number of the data directory when you rename it as above.

The backup numbering should increase in time (ie: your oldest backups
should have the lowest numbers).  The lines in the merged backups file
should be increasing order of backup number (ie: smallest number/oldest
backups first).

If you have any incremental backups you must keep the numbering
monotonic (in order) with the full backups.  An entry (the 19th
field I believe) in the backups file is the number of the depedent
(ie: full) backup. So you need to change that too.  Hopefully you
can keep the numbering of the incremental and dependent full
backups the same, so you won't need to change the 19th field value.

For completeness you should also move and rename the XferLOG files.

Craig

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>