From 578050fe28fb836511d3b09d802ef93f051ef6c9 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 8 Oct 2018 10:55:36 +0200 Subject: [PATCH] Fix(Choux): Replace -e to --exclude in borg backup script --- files/choux_borg.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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."