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

Reply via email to