lbcli update snapshots-policy (2.2 and above)

Updates an existing snapshot policy.

Synopsis

Updates a snapshot policy.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--descriptionstringPolicy description (optional).
--help-hboolHelp for snapshots-policy.
--uuidstringPolicy UUID (required).
--project-namestringThe project name (required).
--retention-timestringRetention 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-cycleintDays in cycle for daily schedule policy (required if hours-in-cycle was not provided).
--hours-in-cycleintHours in cycle for hourly schedule policy (required if days-in-cycle was not provided).
--start-timeintScheduled start time. It must be in the form of HH:MM, in which HH is 00-23 and MM is 00-59.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard