mirror of
https://github.com/restic/restic.git
synced 2025-12-04 03:38:25 +00:00
ui: update status for the backup command on non-interactive terminals
Allow the backup command to print status on non-interactive terminals. The output is disabled by setting a MinUpdatePause == 0.
This commit is contained in:
@@ -135,10 +135,10 @@ command:
|
||||
|
||||
Subcommands that support showing progress information such as ``backup``,
|
||||
``check`` and ``prune`` will do so unless the quiet flag ``-q`` or
|
||||
``--quiet`` is set. For interactive consoles the environment variable
|
||||
``RESTIC_PROGRESS_FPS`` can be used to control the frequency of progress
|
||||
reporting. When running from a non-interactive console progress reporting
|
||||
is disabled to not fill your logs.
|
||||
``--quiet`` is set. When running from a non-interactive console progress
|
||||
reporting is disabled by default to not fill your logs. For interactive
|
||||
and non-interactive consoles the environment variable ``RESTIC_PROGRESS_FPS``
|
||||
can be used to control the frequency of progress reporting.
|
||||
|
||||
Additionally, on Unix systems if ``restic`` receives a SIGUSR1 signal the
|
||||
current progress will be written to the standard output so you can check up
|
||||
|
||||
Reference in New Issue
Block a user