Skip to content
Snippets Groups Projects

add restic_prune-params

Merged Hahn Axel (hahn) requested to merge 6725-optimize-restic-backup-params into master
3 files
+ 13
4
Compare changes
  • Side-by-side
  • Inline

Files

@@ -163,6 +163,8 @@ restic_keep-weekly = 12
restic_keep-monthly = 12
restic_keep-yearly = 10
restic_prune-params = --max-unused unlimited --max-repack-size 1G --cleanup-cache
# ----------------------------------------------------------------------
```
@@ -279,6 +281,8 @@ restic_keep-within = 6m
# restic_keep-weekly = 12
# restic_keep-monthly = 12
# restic_keep-yearly = 10
restic_prune-params = --max-unused unlimited --max-repack-size 1G --cleanup-cache
```
For pruning with restic forget the following values can be used.
@@ -292,6 +296,9 @@ See the docs for more details to the keep values of the forget command <https://
* restic_keep-within-(hourly|daily|weekly|monthly|yearly) [duration] - keep snapshots of given period that are newer than duration (eg. 1y5m7d2h) relative to the latest snapshot
* restic_keep-tag [taglist] - keep snapshots with this taglist (can be specified only one in imlbackup) (default [])
* restic_prune-params [options] - additional prune options. see `restic prune help`
## restore-path
Default path where to put restored file when running *restore.sh*.
Loading