diff --git a/files/choux_borg.sh b/files/choux_borg.sh index e3cc38e..9427e2f 100644 --- a/files/choux_borg.sh +++ b/files/choux_borg.sh @@ -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."