Coder Social home page Coder Social logo

Comments (4)

garethgeorge avatar garethgeorge commented on August 27, 2024

You're right that backrest will retain these forever so long as the snapshots are retained in your repo (and with the plan deleted backrest is no longer managing forgets / prunes for snapshots created by that plan).

If you go ahead and delete those snapshots with the restic cli, backrest will pick this up after the next backup and will garbage collect the associated UI entries.

I can see the argument for this being a UI capability, but I'd like to hold off on adding it for now. With the exception of managed forget operations (which restic ensures will always keep at least one copy of your data) backrest today executes very few destructive operations on your behalf and that's an important part of ensuring it's safe for your data.

from backrest.

garethgeorge avatar garethgeorge commented on August 27, 2024

use restic forget --keep-last 1 --tag plan:yourplanID to forget all but the most recent snapshot in that set, then find the snapshot ID of the last remaining snapshot and run restic forget <snapshotID> to finish cleanup.

from backrest.

modem avatar modem commented on August 27, 2024

I can't run this on the official backrest container... We need shell support.

from backrest.

garethgeorge avatar garethgeorge commented on August 27, 2024

#72 adds a button for manually forgetting individual snapshots.

from backrest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.