Open ajaskiewiczpl opened 5 months ago
Same
autorestic --version
autorestic version 1.7.10
Same here, tried with rest-server backend version 1.7.11
This worked for me
options:
backup:
exclude:
- /mnt/3
- /mnt/2
- /mnt/1
forget:
keep-last:
- 10
forgetoption: prune
For me, the line with forgetoption
was automatically inserted by autorestic, after I initialized a new repository.
I could also solve the issuet temporarily, by removing the whole line completely from the .autorestic.yml
. But the issue reappears when initializing the next repository.
Is this intended behavior? And where is the documentation on this forgetoption. Is this to be found in the docs of autorestic, or of restic itself?
Also, on a side note: I am using comments and extra spacing in my .autorestic.yml
to make it more understandable and managable, but all of this is removed with the next repository initialization. Is this intended behavior?
Running
autorestic backup -a
orautorestic check
(for second time) gives error:Environment
Additional context My yaml file: