forget docs

This commit is contained in:
cupcakearmy 2022-04-12 22:33:33 +02:00
parent 691fdab75c
commit 902927b862
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 17 additions and 0 deletions

View File

@ -37,4 +37,21 @@ global:
keep-weekly: 52
```
## Automatically forget after backup
You can also configure `autorestic` to automatically run the forget command for you after every backup. You can do that by specifying the `forget` option.
```yaml | .autorestic.yml
version: 2
locations:
etc:
from: /etc
to: local
forget: prune # Or only "yes" if you don't want to prune
options:
forget:
keep-last: 5
```
> :ToCPrevNext