Start a Conversation

Unsolved

This post is more than 5 years old

1676

February 17th, 2011 10:00

Creating a customized report

Hello all,

We are considering in the organization a new backup method based on snapshots instead of tape backup. So, to be prepared best for this new method I would like to create a customized report that count each file type that is backed up in a specific NetWorker group.

I tried to create my own report but all my tries have failed

Any hint or help on how to do that task would be very appreciated!

Our environment is built upon DPA 5.7 on Win 2k8 SP1 and NetWorker 7.5 SP4 on Linux Red Had 5.4.

Thanks,

Matan

February 18th, 2011 01:00

If you wanted to put that data into a DPA report for further processing you can save it to a CSV and set up an external datasource which reads the CSV, but it may be that is the data you want.

February 18th, 2011 01:00

Matan

If I understand what you want correctly this isnt something you can do from DPA because DPA doesn't track the contents of the savesets, but let me verify I am interpretting you correctly, you want to have a report which says of file system "X:" you want to be able to say:

*.doc 123 files

*.txt 345 files

*.tmp 678 files

...etc

If that is what you want you could approach this by parsing the file system or an output of the nsrinfo command and using sed to extract the last characters after the *. (then I have added uniq to only return uniq entries with the -c parameter to count each occurence)

nsrinfo -t savetime client|sed 's/\(*\.)./\2/'|uniq -c

You will need to verify my sed command as its not something I have been using for a while!

February 19th, 2011 11:00

Hi David,

That is exactly what I meant to, I will give a try as soon as I can and update here.

Thank you very much,

Matan

No Events found!

Top