On Wed, 09 Dec 2009 13:21:32 -0800
Rich Shepard <[email protected]> wrote:

>    Before I initialize the dirvish backups I'd appreciate feedback on
> /etc/dirvish.conf and default.conf.
> 
> /etc/dirvish.conf:
> 
> bank:
>       /media/hd0/current
> 
> image-default: %Y%m%d-%H%M
> log: bzip2
> index: bzip2
> 
> exclude:
>       /etc/mtab
>       .kde/share/cache/*
>       .mozilla/firefox/*.default/Cache/*
>       /usr/src/**/*.o
>       lost+found/
> 
> runall:       salmo.appl-ecosys.com
> 
> expire-default: +3 months
> --------------------------------------
> default.conf:
> 
> client: [email protected]
> tree: /
> xdev: 0
> index:        bz2
> -------------------------------------
> 
>    A question I have: /etc/dirvish.conf defines the bank as
> /media/hd0/current, but there is no directory 'current'
> on /media/hd0. There is a directory dirvish/ in which the
> default.conf file is located. Is this correct?
> 
> TIA,
> 
> Rich

If you specify bank: as having a directory "current", then that
directory needs to exist.  Your vault directory would be contained
within "../current".  Within that vault directory, you need to have a
subdirectory "dirvish" containing the "default.conf" file.  OTOH, if
you want "current" to be your vault, _it_ contains
"dirvish/default.conf", and is _not_ in the bank specification.  Your
"runall:" entry specifies the vaults you want to back up.

Other than that, the files look okay.  I should warn you, though, that
I am not a Dirvish expert by any means.  I got it to work, and I'm
happy with it, but it was a bit of a trial (not to mention trial and
error) to do so.  One thing that I did when I created my config files:
I put lots and lots of comments in, to tell me what each entry did,
what the options were, and sometimes _why_ they were.  :-)  Trust me,
it helps immensely when I have to modify something.  :-)  If you think
it would help, I could post my configs.  Sometimes having a working
example can be useful.

Hope this helps,

--Dale

--
"Never try to out-stubborn a cat."
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to