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.