curl -XPOST http://localhost:9090/api/v1/admin/tsdb/snapshot
The snapshot folder was created successfully.
My problem is that when I am trying to copy or zip the folder I am getting the error of
cp: cannot open '20220511T121232Z-57f36c7e91baff60/01G2SCD9E9V9HWHVXYC2J1XFYS/chunks/000001' for reading: Invalid argument
Removing the folder is allowed.
After stopping the Prometheus container, the errors stopped so I am guessing the Prometheus kept some links to the snapshots.
Is there any workaround for this?
Thanks