Hi Julian,
Zielke, Julian, NLI schrieb am 27.11.2017 um 13:46:
When a backup is canceled by the user, the error text is whatever was
last in the log. It might not be a real error.
It is not canceled by the user but DumpPreShareCmd returns 1 and thus
makes BackupPC not running the backup.
Is there some way to make BackuPC display the output of the last
stdout-line of DumpPreShareCmd to show up in the host summary?
if you like to debug what your bash script does,
just send the stderr output to a temporary log file e.g. in /tmp/.
#!/bin/bash
set -x
exec 2>/tmp/mylog.$$
... # your script code here
Be sure to remove these statements from the script after debugging,
so /tmp/ is not filled with 'em any more.
HTH
Falko
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/