This is a little patch we use so that our monitoring system can more
easily pick up the cause of any backup errors. There's probably a better
way to do this, but I thought I'd kick it upstream anyway.
--- BackupPC_dump.orig 2008-09-03 09:10:55.000000000 +0100
+++ BackupPC_dump 2008-09-03 09:10:14.000000000 +0100
@@ -1647,6 +1647,8 @@
$bpc->cmdSystemOrEval($cmd,
sub {
$XferLOG->write(\$_[0]);
+ print(LOG $bpc->timeStamp," Output from $cmdType: ",$_[0]);
},
$vars, \%Conf);
+
}
--
Stuart Teasdale
Infrastructure and Network Developer
Mobile: +44 (0) 7813 835 707 Phone: +44 (0) 1189 294 192
Skype: sdteasdale Email: [EMAIL PROTECTED]
www.opsera.com
Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK
This e-mail is confidential, intended only for the named recipient(s)
above and may contain information that is privileged and confidential.
If you receive this message in error, or are not the named recipient(s),
please notify the sender at the phone number above, do not copy this
message, do not disclose its contents to anyone, and delete this e-mail
message from your computer. Although Opsera routinely screens for
viruses, addressees should scan this e-mail and any attachments for
viruses. Opsera makes no representation or warranty as to the absence of
viruses in this e-mail or any attachments.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/