simplified flags for running as cron job

This commit is contained in:
Peter Wood
2023-10-04 08:47:26 -04:00
parent 2d105cd0d8
commit efa9898731

View File

@@ -1,7 +1,11 @@
#! /bin/bash #! /bin/bash
function move-backups() { function move-backups() {
rsync -vrzPh --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data /mnt/m/backups/ # -q quiet
# -r recursive
# -z compress
rsync -qrz --include '*.gz' --remove-source-files vperanda:/home/acedanger/backup/docker-data
/mnt/m/backups/
} }
if [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then if [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then