I wanted to apply the basic repair commands automatically using bash script. But I needed to isolate two events mention in the wiki.
- Ciphertext verification failed
- Detects damaged pack files
I wanted to apply the basic repair commands automatically using bash script. But I needed to isolate two events mention in the wiki.
Only these ones I think
https://restic.readthedocs.io/en/latest/075_scripting.html#exit-codes
Thanks for the reply. Yes, I check that link too but didn’t find those codes. However, I excluded Ciphertext verification failed by substring check but excluding with codes would have been reliable and easier.
May I ask why you’re automating this? Those errors should be exceedingly rare. If they are a regular occurrence then the underlying cause must be investigated.
I wanted to take care the known problems by the system and rest will be reported to me through email. Yes, I read that those are rare but could happen any point of time to anyone.