On Tue, 15 Dec 2009 06:47:19 -0800 (PST)
Rich Shepard <[email protected]> wrote:

> On Mon, 14 Dec 2009, Dale Snell wrote:
> 
> > Also, you might want to use the "--dry-run" option when trying
> > things out. Just in case things go all pear-shaped.  :-) With that
> > option, dirvish will come back without doing anything nasty.  Also,
> > it doesn't matter which directory you're in.  You can run dirvish
> > from anywhere.
> 
>    I've been using --dry-run, but tried the --init without it. This
> time there was neither foul nor harm. Now the error I get is:
> 
> [r...@salmo ~]# dirvish --vault a-boot --dry-run
> a-boot:default:20091215-0638: ERROR: no images for branch default
> found
> 
>    I think it's because I still do not have the vault paths correct.
> For example, the above complete path is:
> 
> /media/hd0/backup/dirvish/server/a-boot/dirvish/default.conf
> 
> and I may mis-understand where the default.conf file should be. Do I
> need a second dirvish/ directory, under each vault directory? In my
> ignorance it seems that would cause the error I see.
> 

Rich,

I think your error is occurring because you haven't created the
reference image yet, using "dirvish --init".  A normal backup wouldn't
work in that case, and that is what --dry-run is telling you.  If you've
done a "dirvish --init --dry-run --vault <vault-name>" and everything
works, then you're probably okay to do the real initialization.

As for your file structure, each vault directory does require its own
dirvish/ sub-directory, with attendant default.conf file.  Each
default.conf is tailored to the partition that you are going to back
up.  In my case, there are only three lines in my default.conf files:
xdev:, client:, and tree:.  The tree: line is usually the only one that
changes.  Well, that and my voluminous comments, to tell me what does
what, and when and why I made changes.  :-)  The path you gave above is
correct for the "a-boot" vault.  The paths for the other vaults would
be the same, except for the vault names.

Hope this helps,

--Dale

--
Q: What lies on the ocean floor and twitches?
A: A nervous wreck.
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to