Andrew Crawford wrote:
> If I rename the vault to something unique (/backup/server2/vault1b), the
> init works fine.
>
> So, am I missing something or, is there a bug that makes it impossible
> to have vaults with the same name in multiple banks?

Dave Howorth wrote:
> It's not a bug. It's just a fact. Vault names are global. It does mean
> you can move vaults from one bank to another if you wish.

On Tue, Mar 25, 2008 at 10:46:37AM -0700, Andrew Crawford wrote:
> Okay, thank you.  I've already had several ideas for work-arounds.  I
> just wanted to confirm that I wasn't missing something obvious.

BTW, if you want to duplicate some vault names, this may be because
you are creating vaults that are similar between machines.  If so, you
may want to use the dirvish "branches" feature to save some backup disk
space.  For example, if you are backing up three client machines (tom,
dick, harry) with the same Linux distro, and you want to back up the
/usr directory on each, you can create a vault named "usr" with branches
usr:tom , usr:dick, and usr:harry , and they will be hardlinked together
during initialization.  This can save a lot of backup disk space.

As the branches are updated and changed, they will diverge.  If
automated distro updates on each client change /usr/bin/bzip2, then
each branch will be changed separately, resulting in 3 independent
copies of the same new bzip2 binary. 

Since rsync now permits multiple --link-dest options, it might be
worthwhile to enhance dirvish so that it will (optionally) link
against all the other branches, reducing the number of copies at
the expense of some extra server disk activity.  Keep in mind that
updates may happen asynchronously on the clients, so the mix of old
and new versions on different clients can be somewhat unpredictable. 
Thus, you will want to link-dest to every other client in the same
branch, resulting in an N^2 amount of computation and disk lookup.
That might be an interesting experiment to try.

Keith

-- 
Keith Lofstrom          [EMAIL PROTECTED]         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to