Skip to content

improve forget/removing snapshots wording #73

@pquerner

Description

@pquerner
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions