lssnapshotpolicy

Use the lssnapshotpolicy command to list the snapshot policies.

Syntax

Read syntax diagramSkip visual syntax diagram lssnapshotpolicy snapshot_policy_id | snapshot_policy_name

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
-filtervalue?
(Optional) Displays a list of valid filter attributes.
snapshot_policy_id
(Required) Specifies the snapshot policy ID.
snapshot_policy_name
(Required) Specifies the snapshot policy name.

Description

Use this command to display a concise list or a detailed view of snapshot policies.

This table provides the attribute values that can be displayed as output view data.

Table 1. lssnapshotpolicy output
Attribute Description
id Indicates the unique ID of the snapshot policy.
name Indicates the unique name of the snapshot policy.
volume_group_count Indicates the number of volume groups associated with the snapshot policy.
schedule_id Indicates the schedule ID of the snapshot policy.
schedule_type Indicates the type of schedule.
backup_unit Indicates the unit of time of the backup_interval. The backup_unit parameter is displayed as minute, hour, day, week or month.
backup_interval Indicates the interval between the snapshot backups. The value must be a number 1 - 65535.
backup_start_time Indicates the time of snapshot backups. The backup_start_time parameter is displayed in the standard YYMMDDHHMMSS format. where: Y is year (The first) M is month D is day H is hour (The second) M is minute S is second.
retention_days Indicates the number of days to keep the snapshot backups. The value must be a number 1 - 65535.