Determine status/progress of current backup

I run restic under cron on Ubuntu. As the backup task takes several hours, it would be helpful to inspect it to determine how much progress has been made.

My understanding is restic currently only shows progress if output is to a tty.

It would be helpful if you could do something like:

  • tail a logfile, i.e. restic baclup --log=/var/log/restic.log and tail -f restic.log
  • run a command, i.e. restic status that prints current progress (but does not live update)

You can set the environment variable RESTIC_PROGRESS_FPS then restic will periodically print progress updates.