On Mon 21 Dec 2009, Rich Shepard wrote:

>    I finished what I think is a working script and I want to test it. In
> /etc/dirvish/master.conf I list all the vaults in the one bank, after a
> runall: directive. When I try a dry-run from the command line dirvish asks
> for a vault.
> 
>    What is the command line syntax to try a dry-run manually? Or, better yet,
> with this script (/root/dirvish-backup.sh), how do I try a dry-run?

The Runall: section is for the dirvish-runall script; dirvish itself has
no knowledge of that section and ignores it.

Hence use dirvish-runall --dry-run

> #!/bin/bash
> TS=`date`
> mount /media/hd0
> /sbin/dirvish-expire
> /sbin/dirvish-runnall

I'd fix the spelling on the above line...


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

Reply via email to