On Fri 04 Mar 2016, John Lewis wrote:

> So everything is great, except I cant get the pre-client script to work
> with Dirvish. It cause the "dirvish --vault client1 --init" command hang
> and the tree folder content nothing (no file, no directory).
> 
> If the pre-client line removed, it's working great.

Of course you know that the --init thing should only be done once,
right?

> summary:short
> xdev:0
> zxfer:1

Hmm, I've always assumed that a space after the colon is necessary but
perhaps not...

> This is the default.conf for client1:
> 
> client: client1
> tree: /
> index: gzip
> image-default: %Y-%m-%d
> xdev: 1
> exclude:
>         + /etc/
>         + /etc/**
>         - *
> 
> pre-client: ; /etc/dirvish_mysql_dump.sh
> rsh: ssh -p 11111 -i /root/.ssh/id_rsa_dirvish_client1 client1

The rsh specification should be just the command to use instead of
"ssh". You seem to have included a hostname "client1", try removing
that.

Any errors should have been written to the log file, check the image
directory ("client1/2016-03-05/" or such).


Paul
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to