none
Get-DPMJob - At least one data source must be selected in the filter definition RRS feed

  • Question

  • Hi,

    I`m using DPM Management Shell to create a daily report which shows all data sources where the latest recovery date is older than 48 hours.

    This works fine, except for protection groups configured with a backup schedule less than every 48 hours (for example weekly backups).

    My initial thought to exclude these "false positives" is to query when the latest job for the given data source was initiated, and compare that date to the date of the latest recovery point.

    As a simple test in the interactive DPM Management Shell, I tried the following:
    $a = Get-DPMDataSource
    Get-DPMJob -Datasource $a[0] -Newest  

    However, that results in the following error:
    Get-DPMJob : At least one data source must be selected in the filter definition
    . (ID: 3173)

    I`ve verified that $a[0] is a valid data source.

    Any ideas?

    Thursday, October 30, 2014 7:35 AM

All replies