Hi Paul,
On Fri, Mar 4, 2016 at 6:08 PM, Paul Slootman <[email protected]> wrote:
> 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?
>
Yes, I'm aware of that :)
> summary:short
> > xdev:0
> > zxfer:1
>
> Hmm, I've always assumed that a space after the colon is necessary but
> perhaps not...
>
With and without semicolon are doesn't work on my case, so I assume that is
not the issue (at least for now) :)
>
> > 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.
>
Using this: rsh: ssh -p 11111 -i /root/.ssh/id_rsa_dirvish_client1
(the last "client1" removed) makes no different :(
> Any errors should have been written to the log file, check the image
> directory ("client1/2016-03-05/" or such).
>
The log file contain these 2 lines:
Pre-Client: ; /etc/dirvish_mysql_dump.sh
^^^@^@^@
> Paul
>
Thanks a lot!
Best regards,
John.
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish