Remove --progress from backup script.
This commit is contained in:
@@ -17,7 +17,7 @@ function backup() {
|
|||||||
ORIG_DIR=$1
|
ORIG_DIR=$1
|
||||||
MIRROR_DIR=$2
|
MIRROR_DIR=$2
|
||||||
echo "Sync $ORIG_DIR to $MIRROR_DIR"
|
echo "Sync $ORIG_DIR to $MIRROR_DIR"
|
||||||
$RSYNC -aXv --delete --force --progress $ORIG_DIR $MIRROR_DIR | $LOG
|
$RSYNC -aXv --delete --force $ORIG_DIR $MIRROR_DIR | $LOG
|
||||||
}
|
}
|
||||||
|
|
||||||
function backupwd() {
|
function backupwd() {
|
||||||
@@ -26,6 +26,7 @@ function backupwd() {
|
|||||||
backup $ORIG_DIR $MIRROR_DIR
|
backup $ORIG_DIR $MIRROR_DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Log Header
|
# Log Header
|
||||||
#
|
#
|
||||||
@@ -48,4 +49,3 @@ backup "/srv/nextcloud" "/mnt/hdd/backup/nextcloud"
|
|||||||
# Log Footer
|
# Log Footer
|
||||||
#
|
#
|
||||||
echo end `$DATE` | $LOG
|
echo end `$DATE` | $LOG
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user