[Dirvish] Best way to backup clients, that are not always up

Michael Richardson michaelr at catalyst.net.nz
Sun Jun 29 21:45:50 UTC 2014

Hi Johannes,

On Mon, June 30, 2014 8:00 am, Johannes Kastl wrote:
> What's the best way to backup clients, that are not always running? Is
> there a ways to check if the client is up and running, and only backup
> if it is? How did all of you solve this?

A trivial way would be to use `dirvish --vault ${vault}` for each client,
as part of some script that checks for availability first, rather than
calling dirvish-runall from cron (the default).  You would probably also
want to then run dirvish-expire as part of that script as well.



Michael Richardson
Catalyst IT Limited
Level 2,150-154 Willis Street, PO Box 11-053 Wellington New Zealand

More information about the Dirvish mailing list