mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2026-04-02 11:55:23 +00:00
forget docs
This commit is contained in:
@@ -37,4 +37,21 @@ global:
|
|||||||
keep-weekly: 52
|
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
|
> :ToCPrevNext
|
||||||
|
|||||||
Reference in New Issue
Block a user