-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Cleanup removed snapshots from cache #4934
Copy link
Copy link
Closed
Labels
category: cachecategory: prunehelp: wantedtype: feature enhancementimproving existing featuresimproving existing features
Description
Output of restic version
0.16.5
What should restic do differently? Which functionality do you think we should add?
When using a restic repository from multiple host, then after running forget on one of the hosts, the removed snapshots still exist in the cache of the other hosts. Restic should remove those snapshots from the cache of all hosts.
It would be sufficient, if for example the commands that list all snapshots, also automatically clean up the cache.
For that it might be possible to hook into the List function of a Repository to remove stale snapshots from the cache.
What are you trying to do? What problem would this solve?
Keep the cache size small.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: cachecategory: prunehelp: wantedtype: feature enhancementimproving existing featuresimproving existing features