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.
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
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!
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.