Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Creating Action resources from a command prompt

Use the nsrpolicy action create command to create Action resources

  1. Optionally, use the nsrlogin command to authenticate a user and generate a token for the nsrpolicy command.
  2. Use the nsrpolicy action create command to create the Action resource.
    For example: nsrpolicy action create action_type --policy_name policy_name --workflow_name workflow_name -A backup_action_name [-M "start_time"] [-d preceding_action_name]

    Where:

    • action_types are one of the following: check-connectivity, probe, backup traditional, backup snapshot, clone, discover-nas-snap, index-nas-snap, server-backup, expire, vba-checkpoint-discover, vba-checkpoint-backup.
    • policy_name is the name of an existing Policy resource that contains this action.
    • workflow_name is the name of an existing Workflow resource in the Policy resource that contains the action.
    • action_name is a unique name for the new Action resource.
      • Legal Characters: _ - + = # , . % @
      • Illegal Characters: /\*:?[]()$!^;'"`~><&|{}
    • start_time is the time to start the action, in one of the following formats:
      • -M "hh:mm"—To start the action at a specific time. For example, to create a new action in an existing workflow that starts at 11:15 PM, type -M "23:15"
      • -M "+hh:mm"—To start the action after period of time has elapsed since the start of the workflow. For example, to create a new action that starts 3 hours after the start of a workflow, type -M "+3:00"
    • preceding_action_name is the name of the Action that precedes the new action in the Workflow.
    For example:
    • To create a traditional backup action and add this action to the SQL workflow in the SQL_hosts policy resource, type: nsrpolicy action create backup traditional --policy_name SQL_hosts --workflow_name SQL -A SQL_backup.
    • To create a clone action and insert the clone action immediately after a backup action created in the SQL workflow, type: nsrpolicy action create backup traditional --policy_name policy_name SQL_hosts --workflow_name SQL -A SQL_clone -d SQL_backup.
    • To create a new action in an existing workflow that starts at 11:15 PM, type the following command:

      nsrpolicy action create backup traditional -p policy_name -w workflow_name -A action_name -M "23:25"

    • To create a new action that starts 3 hours after the start of a workflow, type:

      nsrpolicy action create backup traditional -p policy_name -w workflow_name -A action_name -M "+3:00"


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\