autorestic
autorestic copied to clipboard
Add more verbose error messages
Is your feature request related to a problem? Please describe.
When autorestic fails for some reason, I only get Error: exit status 1 and no additional information. Maybe I am missing some log files, but with just this, it leaves me guessing what the problem is.
Example:
user@host:~$ sudo autorestic check
Using config: /home/user/.autorestic.yml
Using lock: /home/user/.autorestic.lock.yml
Initializing backend "backend-name"...
Error: exit status 1
Describe the solution you'd like
I would like autorestic to pass on the error messages directly into the std out / terminal.
+1, same exact symptoms here. Would like to know at least where to start diagnosis.
Hey @nickelswitte, try running autorestic exec -av -- check and see if you have a stale lock file. That's what was causing this for me.
That is a good workaround, thank you.
As default behavior, I would like autorestic to forward restic error messages for easy debugging. @cupcakearmy
For sure. Took a lot of google fu and trial and error to figure that out.
Sent from Proton Mail Android
-------- Original Message -------- On 7/4/24 3:59 AM, nickelsw wrote:
That is a good workaround, thank you.
As default behavior, I would like autorestic to forward restic error messages for easy debugging. @.***(https://github.com/cupcakearmy)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>