Fix(Choux): Replace -e to --exclude in borg backup script
This commit is contained in:
parent
de691e7859
commit
578050fe28
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user