BackupPC-users

[BackupPC-users] Migrating backuppc (yes, that again...:)

2012-02-24 14:59:18
Subject: [BackupPC-users] Migrating backuppc (yes, that again...:)
From: Brad Alexander <storm16 AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 24 Feb 2012 14:57:41 -0500
Hey all,

I'm running into a problem migrating my /var/lib/backuppc pc
directory. I got cpool, log, pool, tmp, and trash migrated via rsync,
and I am attempting to migrate the pc directory.

When I tried it using

sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarPCCopy
/var/lib/backuppc/pc/ |ssh farragut 'tar -C /var/lib/backuppc/ -xvf -'

it seems to work...*except*... that it untars each machine's directory
into /var/backuppc, so in addition to the standard cpool, log, pool,
etc, I end up with host1, host2, etc.

So I tried changing the command to be

sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarPCCopy
/var/lib/backuppc/pc/ |ssh farragut 'tar -C /var/lib/backuppc/pc -xvf
-'

I see errors where I

tar: ./host1/1118/f%2f/fetc/fssl/fcerts/f1dcd6f4c.0: Cannot hard link
to `cpool/d/3/e/d3e5d7c57fdc87285bbe4a93a2af9c94': No such file or
directory
tar: ./host1/1118/f%2f/fetc/fssl/fcerts/f9b353c9a.0: Cannot hard link
to `cpool/f/5/6/f56df0fad7ad54970b7d54acd92cf481': No such file or
directory

What am I missing here? Why can I not get the hard links to be created
in the right place?

Thanks,
--b

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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/