We have a 3-node cluster running consul and vault. I’ve got a script that runs every hour to take a snapshot of the consul data for disaster recovery.
Recently, the “consul snapshot save” command has been failing on an irregular basis. I upgraded consul at the weekend to version 1.8.6 and ensured that the script is communicating with consul running on the same host as itself, but we’re still getting errors like this:
Error verifying snapshot file: failed to read snapshot file: failed to read or write snapshot data: unexpected EOF
Does it matter that I’m trying to use “consul snapshot save” on a follower rather than the leader?
Is there anything else I should be checking to stop errors like this happening?