Update 'duplicacy.sh'
This commit is contained in:
@@ -77,6 +77,7 @@ duplicacy -verbose -log prune -keep 0:360 -keep 30:180 -keep 7:30 -keep 1:7 >> $
|
||||
if [ "${1}" == "--copyOffsite" ] || [ "${1}" == "-c" ]; then
|
||||
BACKUP_ID=$(awk '/"id"/{print substr($2,2,length($2)-3);exit}' /.duplicacy/preferences)
|
||||
duplicacy -verbose -log copy -to GauntBackupCRO -id ${BACKUP_ID} >> ${LOGFILE} 2>&1
|
||||
duplicacy -verbose -log copy -to GauntBackupGail -id ${BACKUP_ID} >> ${LOGFILE} 2>&1
|
||||
fi
|
||||
|
||||
# compress the logs
|
||||
|
||||
Reference in New Issue
Block a user