You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was a bit surpsied when my command with "--keep-daily=7" deleted (pruned) quite a lot until I realized that this meant to keep 7 days of data whatever the tags are.
Somehow this should be reflected in the documentation more clear that this will remove any data even if multiple hosts/data points are stored in the same repository and that the prefix flag should be used for per "host/data point" clean up.
Or the overall "keep-within"
The text was updated successfully, but these errors were encountered:
The current output of "attic help prune" is fairly long, and ends with:
If a prefix is set with -p, then only archives that start with the prefix are
considered for deletion and only those archives count towards the totals
specified by the rules.
I'm not sure about making the documentation much longer, but we could add
a sentence at the end, like
Otherwise, all archives in the repository are candidates for deletion.
I was a bit surpsied when my command with "--keep-daily=7" deleted (pruned) quite a lot until I realized that this meant to keep 7 days of data whatever the tags are.
Somehow this should be reflected in the documentation more clear that this will remove any data even if multiple hosts/data points are stored in the same repository and that the prefix flag should be used for per "host/data point" clean up.
Or the overall "keep-within"
The text was updated successfully, but these errors were encountered: