Allow extra args for non-backup commands (#115)
* Allow extra args for non-backup commands * Add example in doc * Include global args in backup command * Fix indent * Restore set * Modified: CHANGELOG.md --------- Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
This commit is contained in:
@@ -43,3 +43,10 @@ export RESTIC_RETENTION_YEARS=3
|
||||
#RESTIC_BACKUP_EXTRA_ARGS="--exclude-file /path/to/extra/exclude/file/a --exclude-file /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"
|
||||
|
||||
# Optional extra space-separated arguments to all restic commands, i.e. global arguments.
|
||||
# Example: Limit download speed to a maximum of 1000 KiB/s
|
||||
#RESTIC_EXTRA_ARGS="--limit-download 1000"
|
||||
# Example: Set custom sftp parameters or a custom path.
|
||||
#RESTIC_EXTRA_ARGS="--option sftp.command='ssh\ backup-host\ -s\ sftp'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user