From: Tino S. <bac...@ti...> - 2009-06-18 16:28:43
|
On Thu, Jun 04, 2009 at 11:44:47AM +0100, Hereward Cooper wrote: > 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. > > The second part I am happy doing, however getting hold of the data is being a bit more of a challenge. > > I've tried my hand at some PHP DOM scrapping to pull the data from the web interface, however this gets quite messy, and means learning a intermediate step to achieve my goal. What I'm really looking for is a way of getting this kind of information straight from the command line. > > I haven't yet found a way of doing this though, so I'm asking for ideas. The other option I thought of was to pull the data from the backuppc data files directly, however I don't have a clue where to start with that idea! What data are you interested in, exactly? You might want to look at the backups file in each host's directory. HTH, Tino. -- "What we nourish flourishes." - "Was wir nähren erblüht." www.lichtkreis-chemnitz.de www.craniosacralzentrum.de |