[Dirvish] Seeding vault

Keith Lofstrom keithl at kl-ic.com
Tue Sep 25 14:39:47 UTC 2007


On Tue, Sep 25, 2007 at 01:15:38AM -0600, Roberto Mello wrote:
> I am --init'ing my vaults, and I have one that is particularly large.
> I have an existing rsync backup with the contents of what's going into
> the vault.
> 
> Is there a way to pre-seed the vault with the files I already have?

If the existing vault was made with dirvish, you could do something
like:

/usr/local/sbin/dirvish --init --vault root --reference <old> --branch <new>

... using the branch capability of dirvish.  This will maintain the
two branches in one vault.  I use this when two or more machines are
the same distro and fairly similar.  This saves space in the beginning,
though the vaults will get a lot larger in the future, after the distros
are upgraded and each branch gets it's own copies of the upgraded files.

If you are not starting with a dirvish image, you will have to get 
more creative, perhaps by faking the image metadata using a text editor,
based on an existing example.  The files are not too complicated. 
If you figure that out, let us know.

Keith

-- 
Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs


More information about the Dirvish mailing list