X-Git-Url: https://git.treefish.org/~alex/backmeupscotty.git/blobdiff_plain/d34265295e889746affba716d96b4b8f50af362e..903b8bbb2deed0a1a827915712ad2ce48b530f8e:/backmeupscotty diff --git a/backmeupscotty b/backmeupscotty index 1b7fa19..d1500c1 100644 --- a/backmeupscotty +++ b/backmeupscotty @@ -37,6 +37,10 @@ function scottysync { ssh $REMOTE_HOST "mkdir $REMOTE_BASE/$2" fi + if (ssh $REMOTE_HOST '[ -d '$REMOTE_BASE/$2/incomplete' ]'); then + echo BACKMEUPSCOTTY: Continuing old incomplete backup >&2 + fi + echo BACKMEUPSCOTTY: Starting rsync rsync -e ssh \ -v -aHAX --numeric-ids --delete --delete-excluded \