Allow extra args to restic-backup with RESTIC_BACKUP_EXTRA_ARGS
Fixes #56
This commit is contained in:
@@ -19,3 +19,6 @@ export B2_ACCOUNT_KEY="<b2-application-key>" # TODO fill with your applicationKe
|
||||
|
||||
# How many network connections to set up to B2. Default is 5.
|
||||
export B2_CONNECTIONS=10
|
||||
|
||||
# Extra args to restic-backup. This is empty here and profiles can override this after sourcing this file.
|
||||
export RESTIC_BACKUP_EXTRA_ARGS=
|
||||
|
||||
@@ -32,3 +32,9 @@ export RETENTION_DAYS=14
|
||||
export RETENTION_WEEKS=16
|
||||
export RETENTION_MONTHS=18
|
||||
export RETENTION_YEARS=3
|
||||
|
||||
# Optional extra arguments to restic-backup.
|
||||
# Example: Add two additional exclude files to the global one in RESTIC_PASSWORD_FILE.
|
||||
#RESTIC_BACKUP_EXTRA_ARGS="--exclude-file /path/to/extra/exclude/file/a /path/to/extra/exclude/file/b"
|
||||
# Example: exclude all directories that have a .git/ directory inside it.
|
||||
#RESTIC_BACKUP_EXTRA_ARGS="--exclude-if-present .git"
|
||||
|
||||
Reference in New Issue
Block a user