borgthismachine.sh: add .nobackup support
This commit is contained in:
parent
ad71cde364
commit
a87157013d
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ nice ionice -c 3 borg create --stats \
|
|||
$([[ -n "${BORG_EXCLUDE_PATTERN[*]}" ]] && printf " --exclude \"%s\" " "${BORG_EXCLUDE_PATTERN[@]}" ) \
|
||||
$([[ -n "$BORG_EXCLUDE_FILE" ]] && printf " --exclude-from \"%s\" " "${BORG_EXCLUDE_FILE}" ) \
|
||||
--exclude-if-present="$BORG_EXCLUDE_IF_PRESENT" \
|
||||
--exclude-if-present=".nobackup" \
|
||||
"${MYREPO}::${SNAPSHOT}" \
|
||||
"${BORG_BACKUP_DIRS[@]}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue