BackupPC-users

Re: [BackupPC-users] Copy host backups from one BackupPC server to another

2012-07-30 10:29:20
Subject: Re: [BackupPC-users] Copy host backups from one BackupPC server to another
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 30 Jul 2012 09:27:59 -0500
On Mon, Jul 30, 2012 at 6:04 AM, Jonas Meurer <jonas AT freesources DOT org> 
wrote:
> >
> But my problem is with inactive hosts. I have some old hosts which
> aren't available anymore, but for which I keep the last backups in the
> system. I'd like to migrate these backups to the new backup server as
> well, as the old one will be powered off in near future.

If you don't expect to restore, but just want a copy for safekeeping,
use the archive host feature or BackupPC_tarCreate to make a standard
tar archive that can be kept independently from backuppc.   If you
want the data to be pooled with other backups, at this point the best
you can do is restore  (perhaps one at a time) to somewhere with
sufficient disk space, then let the other server back it up.

> I cannot believe that it's impossible to move backups of hosts from one
> BackupPC instance to another. And actually I believe that
> BackupPC_tarPCCopy is the right tool to do so. But I don't get how to
> use it.

The usual approach is to image-copy the partition or drive holding the
data, then optionally resize the filesystem on the new server.
BackupPC_tarPCCopy expects the pool/cpool directory to be copied first
with rsync and exactly in sync first (and should be documented as
such.   You can't do that after making other backups on the new
server.  You can simply 'rsync -aH ' the host directories under pc to
the corresponding new location and everything will work.  However,
those files will not be pooled with other hosts.

-- 
  Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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/