Druva MSP icon

Druva MSP

Interact with the Druva MSP API

Overview

The "Get DR Failback Activity Report" operation within the "Report - Hybrid Workloads" resource fetches detailed reports about disaster recovery (DR) failback activities in hybrid workload environments. This node is useful for MSPs or IT administrators who need to monitor and analyze DR failback events, helping them ensure business continuity and validate recovery processes.

Typical use cases include:

  • Auditing DR failback activities over specific time periods.
  • Filtering reports by customers or DR plans to focus on particular segments.
  • Generating compliance or operational reports for hybrid cloud workloads.

For example, an administrator might retrieve all DR failback activities from the last 30 days for a set of customers to verify that failbacks were executed successfully.

Properties

Name Meaning
Return All Whether to return all results or limit the number of returned records.
Limit Maximum number of results to return when "Return All" is false. Valid range: 1 to 100.
Date Selection Method Choose how to filter report data by date:
• No Date Filter — include all dates.
• Specific Dates — specify exact start and end dates.
• Relative Date Range — select from predefined relative ranges like current month, last 30 days, etc.
Start Date Start date (inclusive) for filtering report data; used only if "Specific Dates" is selected.
End Date End date (inclusive) for filtering report data; used only if "Specific Dates" is selected.
Date Range Predefined relative date range for filtering report data; used only if "Relative Date Range" is selected. Options include current month, previous month, current quarter, last 30 days, year to date, etc.
Filter by Customer(s) Whether to filter results by specific customers.
Customer IDs List of customer IDs to filter by; shown only if filtering by customers is enabled.
Filter by DR Plan IDs Whether to filter results by specific Disaster Recovery plan IDs. Applies to this operation and the related replication activity report operation.
DR Plan IDs List of DR plan IDs to filter by; shown only if filtering by DR plan IDs is enabled.

Output

The output JSON contains an array of objects representing DR failback activity records matching the specified filters. Each record typically includes details such as timestamps, customer information, DR plan identifiers, status, and other relevant metadata about the failback event.

If binary data is present (not indicated explicitly here), it would represent associated files or logs related to the failback activities.

Dependencies

  • Requires an API key credential for authenticating with the Druva MSP API.
  • The node communicates with the Druva MSP REST API endpoint at https://apis.druva.com.
  • Proper permissions are needed to access reporting endpoints for hybrid workloads.
  • The node depends on internal helper functions for pagination and API requests but no external npm packages beyond n8n's standard environment.

Troubleshooting

  • Common Issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Specifying invalid customer or DR plan IDs may result in empty responses or errors.
    • Date filters outside available data ranges may return no results.
    • Exceeding the maximum allowed limit (over 100) will be rejected.
  • Error Messages:

    • "The resource 'reportHybrid' is not implemented!" — indicates a misconfiguration or unsupported resource selection.
    • API errors related to permissions or invalid parameters will be surfaced as error messages in the node output.
  • Resolutions:

    • Verify API credentials and permissions.
    • Double-check filter values, especially IDs and date ranges.
    • Use "Return All" cautiously to avoid large data loads.
    • Enable "Continue On Fail" to handle partial failures gracefully.

Links and References

Discussion