From 2a71557663f2c4347911112db2a326779338231d Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Fri, 16 Oct 2020 21:41:36 -0700 Subject: [PATCH] Update backup.sh --- bin/backup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/backup.sh b/bin/backup.sh index 034e6d2..0a0e671 100755 --- a/bin/backup.sh +++ b/bin/backup.sh @@ -26,5 +26,8 @@ function verify_dest { verify_dest "$DEST" -exec nice rsync -Hax --delete --exclude-from="$HOME/.rsync_ignore" \ +time nice rsync -Hax --delete --exclude-from="$HOME/.rsync_ignore" \ --delete-excluded "${HOME}/" "$DEST" +echo "Backup completed..." +time sync +echo "Run finished, safe to unmount."