Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
lbcli update snapshots-policy (2.2 and above)
Updates an existing snapshot policy.
Synopsis
Updates a snapshot policy.
Examples:
Flag | Short | Type | Default | Description | |
|---|---|---|---|---|---|
--description | string | Policy description (optional). | |||
--help | -h | bool | Help for snapshots-policy. | ||
--uuid | string | Policy UUID (required). | |||
--project-name | string | The project name (required). | |||
--retention-time | string | Retention time to keep the snapshot. Retention time is a string constructed by a decimal number followed by the units: ns, us, ms, s, m, h. For example, 7200s, 1200m, 2h. | |||
--days-in-cycle | int | Days in cycle for daily schedule policy (required if hours-in-cycle was not provided). | |||
--hours-in-cycle | int | Hours in cycle for hourly schedule policy (required if days-in-cycle was not provided). | |||
--start-time | int | Scheduled start time. It must be in the form of HH:MM, in which HH is 00-23 and MM is 00-59. |
© 2026 Lightbits Labs™