YunoHost-Apps / borg_ynh

An experimental Borg implementation for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
19 stars 22 forks source link

Also display error messages in backup create output #104

Closed alexAubin closed 2 years ago

alexAubin commented 2 years ago

Problem

When backup miserably crashes, errors are only logged in /var/log/borg_backup.err, but don't appear in Yunohost log operation

Solution

Use tee -a to have the error stream both in stdout and the error log file

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)