vserver data-policy export

Display a data policy

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver-data policy export command displays the current data policy for a Vserver with Infinite Volume.

Parameters

-vserver <vserver name> - Vserver Name
This specifies the Vserver with Infinite Volume for which the data policy will be displayed.

Examples

The following example shows the current data policy.
cluster1::> vserver data-policy export -vserver vs1

{ "ruleset_format_version" : "1.0",
  "rules" : [
    { "rule_label" : "default",
      "rule_id" : "ec17a05f-7785-11e1-baf4-123478563412",
      "rule_scope" : [],
      "rule_epoch" : { "epoch_reference" : "ctime" },
      "rule_epochs" : {
        "0" : {
          "local" : {
            "metadata" : {
              "storageservice" : "-"
            }
          }
        }
      }
    }
  ]
}