BackupPC-users

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

2009-02-19 14:42:59
Subject: [BackupPC-users] move a specific backup (share) from one pool to another pool
From: sabujp <backuppc-forum AT backupcentral DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 19 Feb 2009 14:40:20 -0500

>  Hard-links cannot cross
> filesystems, so creating a second filesystem won't work. Your only
> choice would be to create a second BackupPC instance and move clients
> over to the new instance. 
> 


Well this is possible using the instructions here:

http://backuppc.wiki.sourceforge.net/move_backup_data+

or in the manual under "Copying the pool". I've started this process (moving 
several TB) but my only question is regarding the commands from the manual here:


&nbsp; &nbsp; su __BACKUPPCUSER__
&nbsp; &nbsp; cd NEW_TOPDIR
&nbsp; &nbsp; mkdir pc
&nbsp; &nbsp; cd pc
&nbsp; &nbsp; __INSTALLDIR__/bin/BackupPC_tarPCCopy __TOPDIR__/pc | tar xvPf -


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 . 

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 .

Finally I'll reformat san2 from xfs to jfs (xfs is very unstable on apple g5 
xserves) and then do the same thing again to move the backuppc pool, cpool, and 
pc directories back to san2.

Thanks,
Sabuj Pattanayek

+----------------------------------------------------------------------
|This was sent by sabujp AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
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/