PDA

View Full Version : export Amanda Report to CSV format??



emzvargas
August 5th, 2009, 12:39 AM
Hi,does any know a way to export the amanda report to a CVS format ??
or please someone could point me out where the code is located so i can try to make a scrip to export it to such format
Any help will be greatly appreciated :confused::confused:

dustin
August 5th, 2009, 05:26 AM
Amanda is already available in Subversion on SourceForge and in Git on Github, so I'm not sure why you'd want to use CVS. The amanda report is generated by server-src/reporter.c:

http://github.com/zmanda/amanda/blob/master/server-src/reporter.c

dustin
August 5th, 2009, 05:40 AM
Oh, now I see the subject line says "CSV" which is probably what you want. I'm guessing you or your boss are big Excel users :)

We're working on an export of the report data in XML format, and once that's ready you could probably write some xslt to extract the data you want into CSV.