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

Hello,

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.

Thanks.

1 Like

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

Also you might want to check this github issue: https://github.com/restic/restic/issues/956

1 Like