Hi John,
why is there the semicolon in front of your pre-client script?
Andi
Am 04.03.2016 um 11:22 schrieb John Lewis:
> Greetings,
>
> I've been working with this issue for few days, googling a lot, but
> can't make it work:(
>
> 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.
>
> This is the content of the master.conf file:
>
> Dirvish: /usr/sbin/dirvish
> Runall:
> client1
> expire-default: +30 days
> expire-rule:
> wd { sun } +2 months
>
> summary:short
> xdev:0
> zxfer:1
>
>
> 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
>
> For debugging purpose, the /etc/dirvish_mysql_dump.sh only content:
>
> #!/bin/bash
>
> exit 0
>
>
> the /etc/dirvish_mysql_dump.sh is own by root:root, the permission is
> -rwxr-xr-x and it's on the client1 machine (not on server).
>
> I can execute /etc/dirvish_mysql_dump.sh from client1 from the shell
> without any problem.
>
> What should I do to solve this?
>
> Thanks a lot :)
>
> Best regards,
> John.
>
>
>
>
> _______________________________________________
> Dirvish mailing list
> [email protected]
> http://www.dirvish.org/mailman/listinfo/dirvish
>
--
sixhop.net
sixhop.net
Andreas Nitsche
Pucher Str. 21-23
82256 Fürstenfeldbruck
Fon: 08141 31 597-0
Fax: 08141 31 597-1
E-Mail: [email protected] <mailto:[email protected]>
Web: www.sixhop.net <http://www.sixhop.net/>
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish