Hereward writes:

> I'm looking for a way of extract details of backuppc jobs so that I
> can parse them and produce some graphs of usage and general activity.

For current running jobs, host status, server info (pool stats etc)
and command queues you can do this:

    bin/BackupPC_serverMesg status jobs
    bin/BackupPC_serverMesg status hosts
    bin/BackupPC_serverMesg status info
    bin/BackupPC_serverMesg status queues

You will get back a text version of a perl hash that you can eval()
inside perl.  Otherwise you can parse it using a language of your
choice.

As other people mentioned, for information about completed backups
you should read and parse the backups file for each host.

Craig

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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/

Reply via email to