This command lists protection policies and their details.
Usage
protectionpolicy list
Required Parameters
None
Example
In this example, there is one protection policy configured to create local snapshots with no remote replication. The snapshots are taken every 20 seconds and each snapshot expires after one minute.
vcli: admin> protectionpolicy list +----+------------------+------------------------------------------------------------------------------------------------+----------------+------------+----------------+ | ID | Name | Schedule | Replication Peer | Snapshot Prefix| Clone Type | Indestructible | +----+------------------+------------------------------------------------------------------------------------------------+----------------+------------+----------------+ | 1 | AlwaysBackUpData | [{'every': '20s', 'start-at': '2021-02-08 09:25:24', 'keep-local': '1m'}] | | ABD | LOCAL | False | +----+------------------+------------------------------------------------------------------------------------------------+----------------+------------+----------------+
In this example, there are three native replication policies. For one of them, local snapshots are kept for ten minutes. For the other two, they are discarded after replication:
vcli: admin> protectionpolicy list +----+-------------+-------------------------------------------------------------------------------------------------+------------------+-----------------+--------------------+-----------------+ | ID | Name | Schedule | Replication Peer | Snapshot Prefix | Clone Type | Indestructible | +----+-------------+-------------------------------------------------------------------------------------------------+------------------+-----------------+--------------------+-----------------+ | 4 | Every10miN | [{'every': '10m', 'start-at': '2021-06-03 11:30:00', 'keep-local': '10m', 'keep-remote': '1h'}] | 28-54-gogogogo | PREF | NATIVE_REPLICATION | False | | 7 | Every15Sec | [{'every': '15s', 'start-at': '2021-06-21 08:08:17', 'keep-local': '0d', 'keep-remote': '5m'}] | 28-54-gogogogo | Every15Sec | NATIVE_REPLICATION | False | | | 3 | hourly | [{'every': '1h', 'start-at': '2021-06-03 09:34:28', 'keep-local': '0d', 'keep-remote': '6h'}] | 28-54-gogogogo | hourly | NATIVE_REPLICATION | False | | +----+-------------+-------------------------------------------------------------------------------------------------+------------------+-----------------+--------------------+-----------------+
Comments
0 comments
Article is closed for comments.