diff --git a/move-backups.sh b/move-backups.sh index f6e9b67..93f06a6 100755 --- a/move-backups.sh +++ b/move-backups.sh @@ -1,11 +1,7 @@ -#! /bin/bash +#!/bin/bash function move-backups() { -# -q quiet -# -r recursive -# -z compress - rsync -qrz --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data - /mnt/m/backups/ + rsync --recursive --quiet -e 'ssh -p 58022' --include '*.gz' --remove-source-files acedanger@vperanda:/home/acedanger/backup/docker-data /mnt/m/backups/ } if [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then