I use a systemd timer to run a script to perform backup/forget/check operations. Is there a way to omit the following types of entries from the systemd logs? Providing --quiet
doesn’t seem to have any effect.
run_restic_backup[117287]: % Total % Received % Xferd Average Speed Time Time Time Current
run_restic_backup[117287]: Dload Upload Total Spent Left Speed
run_restic_backup[117287]: ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 2 100 2 0 0 3 0 --:--:-- --:--:-- --:--:-- 3
run_restic_backup[117287]: OK
run_restic_backup[116542]: Getting snapshots for nas
run_restic_backup[117290]: % Total % Received % Xferd Average Speed Time Time Time Current
run_restic_backup[117290]: Dload Upload Total Spent Left Speed
run_restic_backup[117290]: ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 2 100 2 0 0 3 0 --:--:-- --:-->
run_restic_backup[117290]: OK
run_restic_backup[117322]: % Total % Received % Xferd Average Speed Time Time Time Current
run_restic_backup[117322]: Dload Upload Total Spent Left Speed
run_restic_backup[117322]: ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 2 100 2 0 0 3 0 --:--:-- --:-->
run_restic_backup[117322]: OK
run_restic_backup[116542]: Testing restore from nas
run_restic_backup[117325]: % Total % Received % Xferd Average Speed Time Time Time Current
run_restic_backup[117325]: Dload Upload Total Spent Left Speed
run_restic_backup[117325]: ^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M100 2 100 2 0 0 2 0 0:00:01 --:-->
run_restic_backup[117325]: OK
This is with restic 0.13.0 compiled with go1.18 on linux/amd64.