Hi, John Rouillard wrote on 08.11.2007 at 01:52:01 [[BackupPC-users] Is there a command line reporting tool for backuppc?]: > > I am looking for a command line reporting tool that can give me > csv/tabular output like: > > hostname sharename date/time size level duration(min)
I don't think the info is available per share ... > Something like: > > example1, /etc, "2007-11-07 19:27", 2GB, 3, 10 > example1, /var, "2007-11-07 19:37", 4.1GB, 3, 20 > example2, /etc, "2007-11-08 20:29", 2GB, 4, 6 > ... > > so I can find out when I have backups taking too long, or backing up > too much data. > [...] > So does anybody have a BackupPC_report tool? Well, I now have a quick hack that does just about that :-). > Alternatively can anybody tell me where to obtain the data and how to > parse it? I have a feeling I can query the server for it with the > proper BackupPC_serverMesg incantation and ritual sacrifice. I don't think so (at least I didn't find it), but you can use the BackupPC::Lib to get the information. See the attached example (which should probably have included a ritual sacrifice to the BackupPC server for good measure ;-). #include <disclaimer.h> #include <quick-hack-note.h> Format: hostname|date/time|size in MB|level|duration in minutes Hope that helps. Regards, Holger
BackupPC_report.pl
Description: Perl program
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
