Provide password for backup

This commit is contained in:
Przemek Grondek 2023-02-05 18:14:20 +01:00
parent b17c4b2709
commit 8b257378b8

View File

@ -10,8 +10,8 @@ DESTINATION="onedrive://duplicity/nas"
LOG="/home/duplicity/backup.log" LOG="/home/duplicity/backup.log"
rm $LOG rm $LOG
duplicity remove-older-than $MAX_TIME $DESTINATION >> $LOG PASSPHRASE="$PASSPHRASE" duplicity remove-older-than $MAX_TIME $DESTINATION >> $LOG
duplicity --full-if-older-than $FULL_BACKUP_EVERY $SOURCE $DESTINATION >> $LOG PASSPHRASE="$PASSPHRASE" duplicity --full-if-older-than $FULL_BACKUP_EVERY $SOURCE $DESTINATION >> $LOG
sendemail \ sendemail \
-f "$EMAIL_SENDER" \ -f "$EMAIL_SENDER" \