List of restic exit codes? (checking if repo is locked)


is there a list of exit codes of the different functions, like for stats, check and snapshots? I try to test in a script, if a backup is locked.


1 Like

Each of the verbs’ --help texts explain the possible exit codes.

Also you might want to check this github issue:

1 Like