Snapshots folder - Invalid argument

23 views
Skip to first unread message

inmar tzemach

unread,
May 13, 2022, 2:29:10 AM5/13/22
to Prometheus Users
Hi
I am running Prometheus as Linux container.
I created some snapshots data with the api :

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

Reply all
Reply to author
Forward
0 new messages