mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 20:02:32 +01:00
Report duplicity failure output at error loglevel so that it is emailed.
This commit is contained in:
parent
3ac357dd95
commit
3a94e3bc59
@ -8,6 +8,8 @@ version 1.0 -- UNRELEASED
|
|||||||
. Adapt for new duplicity SSH backend.
|
. Adapt for new duplicity SSH backend.
|
||||||
Support bandwidthlimit with new duplicity, using trickle.
|
Support bandwidthlimit with new duplicity, using trickle.
|
||||||
(Closes: #657201)
|
(Closes: #657201)
|
||||||
|
. Report failure output at error loglevel so that it is emailed
|
||||||
|
(Closes: #536858)
|
||||||
mysql:
|
mysql:
|
||||||
. Don't attempt to dump performance_schema database (Redmine#3741).
|
. Don't attempt to dump performance_schema database (Redmine#3741).
|
||||||
pgsql:
|
pgsql:
|
||||||
|
@ -339,7 +339,11 @@ if [ ! $test ]; then
|
|||||||
exit_code=$?
|
exit_code=$?
|
||||||
debug $output
|
debug $output
|
||||||
cat $outputfile | (while read output ; do
|
cat $outputfile | (while read output ; do
|
||||||
info $output
|
if [ $exit_code -eq 0 ]; then
|
||||||
|
info $output
|
||||||
|
else
|
||||||
|
error $output
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
if [ $exit_code -eq 0 ]; then
|
if [ $exit_code -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user