Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve forget/removing snapshots wording #73

Open
pquerner opened this issue Mar 24, 2024 · 1 comment
Open

improve forget/removing snapshots wording #73

pquerner opened this issue Mar 24, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@pquerner
Copy link

pquerner commented Mar 24, 2024

All backup space is finite, so rustic allows removing old snapshots. This can be done either manually (by specifying a snapshot ID to remove) or by using a policy that describes which snapshots to forget.

from: https://rustic.cli.rs/docs/commands/forget/intro.html

Specially the "or part".
I assume it means when you do a rustic backup <policy-switch> it'll remember that somewhere (on the snapshot) and next time forget [--prune] (prune) is called it will execute that from said policy. But it would be nice to give some examples here.
Specially for --delete-after and what other policy switches are there and or where can I find them? Do they have examples, too?

// edit
I've found https://github.com/rustic-rs/rustic/tree/main/config but even here its not quite clear what policies are available (only by taking a guess by looking at the name), also option type is missing. What can I type there?

@simonsan simonsan transferred this issue from rustic-rs/rustic Mar 25, 2024
@simonsan
Copy link
Collaborator

Transferred it to the source of the book ;-)

@simonsan simonsan added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 25, 2024
@simonsan simonsan changed the title docs: improve forget/removing snapshots wording improve forget/removing snapshots wording Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants