From bbf599f7d6ebeaec0e32b0d305fe7dfe1c99b693 Mon Sep 17 00:00:00 2001 From: Peter Wood Date: Wed, 3 Jan 2024 21:22:58 -0500 Subject: [PATCH] updated with changed tailscale machine names --- move-backups.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/move-backups.sh b/move-backups.sh index cd7dd8f..11c9684 100755 --- a/move-backups.sh +++ b/move-backups.sh @@ -11,7 +11,7 @@ command="rsync \ --archive --verbose --progress --dry-run --stats \ -e 'ssh -p 58022' \ --include '*.gz' \ - acedanger@vperanda:$source $destination \ + acedanger@ts-vperanda:$source $destination \ | fgrep 'Number of files' | cut -d' ' -f4 | tr -d ," # echo 'Running command => ' @@ -21,7 +21,7 @@ num_files=$(rsync \ --archive --verbose --progress --dry-run --stats \ -e 'ssh -p 58022' \ --include '*.gz' \ - acedanger@vperanda:$source $destination \ + acedanger@ts-vperanda:$source $destination \ | fgrep 'Number of files' | cut -d' ' -f4 | tr -d , ) @@ -38,7 +38,7 @@ rsync \ --recursive --verbose --progress --remove-source-files --archive \ -e 'ssh -p 58022' \ --include '*.gz' \ - acedanger@vperanda:$source $destination + acedanger@ts-vperanda:$source $destination # send a notification to https://notify.peterwood.rocks/lab curl \