I have a repo with a lot of hosts (>700). Each of these hosts has possibly different retention periods, which is kept in a database. I’m currently running a loop, which runs forget for each of these hosts, with locking/unlocking this takes a lot of time.
Do you have any suggestions to do this faster? I thought I can manually lock the repo and read stuff under /snapshots via
cat, but that would be re-implementing the retention. It’d be great if we could chain multiple forget commands with their respective --keep-* params into single command, but not sure if technically possible.