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 \
|
$BORG create \
|
||||||
-v --stats --compression none \
|
-v --stats --compression none \
|
||||||
$BORG_ARCHIVE \
|
$BORG_ARCHIVE \
|
||||||
$BACKUPED_DIR
|
$BACKUPED_DIR \
|
||||||
-e 'lost+found'
|
--exclude 'lost+found' \
|
||||||
|
--exclude '/home/*/.cache' \
|
||||||
|
--exclude '/home/*/.ccache'
|
||||||
>> ${LOG_PATH} 2>&1
|
>> ${LOG_PATH} 2>&1
|
||||||
|
|
||||||
ts_log "Rotating old backups."
|
ts_log "Rotating old backups."
|
||||||
|
Loading…
Reference in New Issue
Block a user