BackupPC-users

Re: [BackupPC-users] Combine multiple Backuppc servers into one

2009-12-21 03:37:51
Subject: Re: [BackupPC-users] Combine multiple Backuppc servers into one
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 21 Dec 2009 23:34:43 -0500
Les Mikesell wrote at about 15:27:19 -0600 on Friday, December 18, 2009:
 > Kameleon wrote:
 > > To simplify what I am trying to accomplish I will explain it this way:
 > > 
 > > We currently have 2 backuppc servers. Both have 2x 1TB drives in a Raid1 
 > > array. What I want to do is move all the drives into one machine and set 
 > > it up as a Raid5. That would give us 3TB usable rather than 2TB usable. 
 > > Hence why I need to move everything to one setup.
 > > 
 > > Thanks for any guidance.
 > 
 > There's no good way to merge existing pooled files if that is what you 
 > are asking.  Or to convert a Raid1 to a Raid5 without losing the 
 > contents. I'd recommend building a new setup the way you want and 
 > holding on to the old systems for as long as you might have a need to 
 > restore from their older history, or perhaps generating tar images that 
 > you can store elsewhere with BackupPC_tarCreate.  Once the new system 
 > has collected the history you need you can re-use the old drives.
 > 

Agreed that there is no good way but if you don't mind a little
coding, you could do a brute force merge -- it wouldn't be very
hard...

Conceptually it would be easiest to think of it in 2 steps:
1. First crawl through pool "B" and for each entry not already in the
pool, just add it to the pool (you could adapt existing routines)
2. Then crawl through the pc directory and link each entry to the pool
(again adapting existing routines)

A faster method would combine step #1 with a list of inodes &
filenames representing the pc tree so that as you go through the pool inodes
you would also link in the pc tree.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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/