backup status is not printed with TERM=dumb
Author: rogpeppeCreated Aug 31, 2020Updated Sep 10, 2026
Labelstype: feature enhancementhelp: wantedcategory: backupcategory: user interfacehelp: minor complexity
Output of restic version
restic 0.9.6-dev (compiled manually) compiled with go1.15 on linux/amd64How did you run restic exactly?
restic -r /mnt/syn/rog/ubuntu-backup.restic --exclude-file /home/rog/lib/backupfiles.exclude --verbose backup .Expected behavior
I would expect the command to produce some progress output, even though I have TERM=dumb (because I'm not using an ANSI terminal emulator).
Actual behavior
Instead, it doesn't print anything when backing up (because, I think, the termstatus.canUpdateStatus function returns false in this case.
Do you have an idea how to solve the issue?
I think that if TERM=dumb, it should avoid printing ANSI escape codes and instead print a plain text update message every so often.
Did restic help you today? Did it make you happy in any way?
Yes! It's (I think!) exactly what I was looking for. Thanks so much for this project.
Source: restic/restic