Snapshot completed with success but archive creation failed

Hi folks,

I created a snapshot using the following curl command:
curl -X PUT "localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true&pretty"

After the snapshot completed with success, I execute a simple tar command to create an archive:
tar cvzf backup.tgz -C /snapshots/my_backup .

My concern is that, from time to time, I receive the following error:

tar: .: file changed as we read it

I'm trying to understand what I can do to cover this corner case, in order to have an e2e process working.

Thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.