Provide password for backup
This commit is contained in:
parent
b17c4b2709
commit
8b257378b8
@ -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" \
|
||||||
|
Loading…
Reference in New Issue
Block a user