Fix(Choux): Replace -e to --exclude in borg backup script

This commit is contained in:
Bertrand Benjamin 2018-10-08 10:55:36 +02:00
parent de691e7859
commit 578050fe28

View File

@ -40,8 +40,10 @@ ts_log "Pushing archive ${BORG_ARCHIVE}"
$BORG create \
-v --stats --compression none \
$BORG_ARCHIVE \
$BACKUPED_DIR
-e 'lost+found'
$BACKUPED_DIR \
--exclude 'lost+found' \
--exclude '/home/*/.cache' \
--exclude '/home/*/.ccache'
>> ${LOG_PATH} 2>&1
ts_log "Rotating old backups."