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

Implement garbage collection in the oplog #7

Closed
garethgeorge opened this issue Nov 15, 2023 · 1 comment
Closed

Implement garbage collection in the oplog #7

garethgeorge opened this issue Nov 15, 2023 · 1 comment

Comments

@garethgeorge
Copy link
Owner

Collect and delete old entries in the operations log. An entry can be deleted if it is pushed out of the last 100 operations for any repo or plan.

@garethgeorge
Copy link
Owner Author

Something better may be needed in the future. For now I've compromised by explicitly deleting snapshots that are marked as removed by a prune operation. Implicitly deleted (e.g. no longer found after running restic snapshots or such) operations will still be retained to avoid data loss e.g. to avoid dataloss if snapshot output can't be parsed correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant