Skip to content

improve forget/removing snapshots wording #73

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?

Activity

  1. transferred this issue fromrustic-rs/rusticon Mar 25, 2024
  2. simonsan commented on Mar 25, 2024

    @simonsan
    Collaborator

    Transferred it to the source of the book ;-)

  3. changed the title [-]docs: improve forget/removing snapshots wording[/-] [+]improve forget/removing snapshots wording[/+] on Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions