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

Add 'prune' command #479

Closed
fd0 opened this issue Feb 27, 2016 · 3 comments
Closed

Add 'prune' command #479

fd0 opened this issue Feb 27, 2016 · 3 comments
Assignees
Milestone

Comments

@fd0
Copy link
Member

fd0 commented Feb 27, 2016

In #459, the optimize command was removed due to a bug. This issue is about adding a new command called prune which basically does the same as optimize, just with a better name (and hopefully without the bug).

@squarism
Copy link

Is this similar to deleting snapshots? I'd like to subscribe/watch an issue that represents when deletes are implemented if I understand restic correctly (which may not be the case). As of right now, are repositories append only?

@fd0
Copy link
Member Author

fd0 commented Mar 10, 2016

This issue is about adding the prune command, which is one part of regularly removing old snapshots. I'd suggest subscribing to #51 or #18.

And you're right: At the moment, repositories are append-only. We had a command similar to prune for a while, but it turned out that there was a grave bug in the code so I removed it for now. Better safe than sorry.

@fd0
Copy link
Member Author

fd0 commented Aug 18, 2016

I've nearly finished the implementation of a prune command and need some feedback on how to specify which snapshots to remove/keep, please add your comments to #572. Thanks!

@fd0 fd0 closed this as completed in #518 Aug 21, 2016
@fd0 fd0 removed the in progress label Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants