I would like to run a report on command line to output a list of OSSV primary hosts and paths. I thought this would be easy since you can get the same report from the web interface and you can even schedule it to run and email you the results.
However, I cannot find a command that will run the report and display the results. I'm either looking in the wrong place or doing something else wrong.
I can list the available reports, thus (my emphasis):
Use the dfbm cli, as below.And run the report as shown.
[root@lnx~]# dfbm report Available reports are backups-by-primary backup relationships keyed by primary directory backups-by-secondary backup relationships keyed by secondary volume events all current backup events events-error current backup error or worse events events-unack unacknowledged events events-warning current backup warning or worse events jobs all backup jobs jobs-1d backup jobs started today jobs-30d backup jobs started this month jobs-7d backup jobs started this week jobs-aborted aborted backup jobs jobs-aborting backup jobs being aborted jobs-completed completed backup jobs jobs-failed failed backup jobs jobs-running Displays a list of all in progress backup jobs. primary-dirs all backup primary directories primary-dirs-discovered all backup primary directories discovered primary-dirs-qtrees-discovered Displays a list of all unprotected qtrees. primary-hosts all primary storage systems primary-hosts-filers Primary storage systems running Data ONTAP primary-hosts-open-system OSSV primary storage systems schedules all backup schedules secondary-hosts all secondary storage systems secondary-volumes all backup secondary volumes summary-completed all completed backups summary-failed all failed backup jobs summary-inprogress all in progress backup jobs summary-no-status backups with no status unauthenticated-systems storage systems with no NDMP credentials unavailable-agents storage systems with NDMP unavailable
[root@lnx ~]# dfbm report primary-hosts-open-system There are no backup primary storage systems. [root@lnx ~]#