[Dirvish] Seeding vault

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Tue Sep 25 09:09:40 UTC 2007


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?

Yes :)

I have done this. I just constructed the necessary directory structure
and files by hand. I don't know if there's a better way (anybody?).

I used an existing vault to copy from. You need to make the directory
structure:

- the vault directory
  which contains:

  - the dirvish subdirectory
    this contains:
    - default.conf - create as you wish
    - default.hist - copy a couple of lines from an existing vault

  - an initial image subdirectory (e.g. 2007-09-25)
    this contains:
    - a sub-directory 'tree' containing your existing image
    - a file named summary
    - a file named log

'summary' contains a copy of a summary file from another vault, with the
details adjusted appropriately.

My version of 'log' contains enough information for one of my custom
scripts. I believe dirvish doesn't need the file at all.

Cheers, Dave




More information about the Dirvish mailing list