X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=dss.ggo;h=11529956891db25e5110e03009b88ff5ca36c0c6;hp=db119015e9a64c49f0be1edcc4cc88d4ff5c3816;hb=01ed0597ca37173df783d9a6816cf13d7a1435f9;hpb=9a0ddec6508e04cf2e9d5e9bd02e9b7de02428a3 diff --git a/dss.ggo b/dss.ggo index db11901..1152995 100644 --- a/dss.ggo +++ b/dss.ggo @@ -244,6 +244,26 @@ details=" --rsync-option --exclude --rsync-option /proc " +option "max-rsync-errors" - +"Terminate after this many rsync failures" +int typestr="count" +default="10" +optional +details=" + Only relevant when operating in --run mode (see above). If + the rsync process exits with a fatal error, dss restarts + the command in the hope that the problem is transient + and subsequent rsync runs succeed. After the given number + of consecutive rsync error exits, however, dss gives up, + executes the exit hook and terminates. Set this to zero if + dss should exit immediately on the first rsync error. + + The only non-fatal error is when rsync exits with code 24. This + indicates a partial transfer due to vanished source files + and happens frequently when snapshotting a directory which + is concurrently being modified. +" + ################### section "Intervals" ###################