X-Git-Url: http://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/f19a0e993aea2799e57a0d2b68017919a1f7c617..24d125dbe2a3ad4d43792e1e7f8894484d7fda41:/backmeupscotty-example diff --git a/backmeupscotty-example b/backmeupscotty-example index 452e3c0..c49e2ad 100755 --- a/backmeupscotty-example +++ b/backmeupscotty-example @@ -7,5 +7,10 @@ REMOTE_BASE=/home/alex/backtest ARCHIVE_KEEPNBACKUPS=30 ARCHIVE_KEEPNDAYS=1 +if ! isIncompleteOrNthDay dest; then + scottyinfo "This is not the nth day and no incomplete backup exists." + exit 0 +fi + scottysync /home/alex/backtest/source dest "/gack,/gugu/*" scottysync /home/alex/backtest/source2 dest2