diff --git a/backup.sh b/backup.sh index 12bb485..c37ac90 100755 --- a/backup.sh +++ b/backup.sh @@ -66,7 +66,7 @@ send_single_snapshot() echo $BR_NEW_SNAPSHOT > "old-snapshot.txt" } -send_incremental_snapshop() +send_incremental_snapshot() { BR_NEW_SNAPSHOT=`get_latest_snapshot` while read BR_REMOTE_ADDR BR_REMOTE_PORT BR_REMOTE_ROOT BR_REMOTE_USER; do @@ -81,7 +81,7 @@ send_incremental_snapshop() create_snapshot if [ -f "old-snapshot.txt" ]; then - send_incremental_snapshop + send_incremental_snapshot else send_single_snapshot fi \ No newline at end of file