BackupPC-users

Re: [BackupPC-users] move a specific backup (share) from one pool to another pool

2009-02-23 17:36:15
Subject: Re: [BackupPC-users] move a specific backup (share) from one pool to another pool
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: sabujp <backuppc-forum AT backupcentral DOT com>
Date: Mon, 23 Feb 2009 14:14:04 -0800
sabujp writes:

> In the last command that runs BackupPC_tarPCCopy, does this perl command look 
> at any of the configuration files on the local host or does it just get what 
> it needs to re-generate the hard links straight from the old "pc" directory? 
> I looked through the code and don't see that it does look at the local 
> system's backuppc configuration files under /etc/BackupPC .

It shouldn't look at the config files beyond extracting the TopDir.

> What I'm doing is the following: I have two BackupPC servers host1 and host2. 
> I'm copying the BackupPC directories from a SAN (san2) attached to host2 to 
> the SAN attached to host1 (san1) . Both SANs are available to both hosts 
> through a FC switch so I just umount it on host2 and re-mount it on host1. I 
> then copy the cpool and pool directories to host1's san1. After this is 
> finished I plan on running BackupPC_tarPCCopy on host1 (san1) against the pc 
> directory on san2. Just wanted to make sure BackupPC_tarPCCopy wasn't going 
> to look at host1:/etc/BackupPC/hosts and try something funny .

I'm not sure I fully understand what you are trying to do, but it is
critical that the cpool directories are identical on the source and
target trees before running BackupPC_tarPCCopy.  That's because the
hardlink structure is deteceted on the source tree, and just the cpool
path is sent to the target tar -x so it can create the same hardlink.
The cpool files themselves are not transferred by BackupPC_tarPCCopy.

I don't think there is a way to transfer a single host's backups using
BackupPC_tarPCCopy.

Craig

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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/