Lightbits Command Line Interface
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
lbcli list snapshots-policies (2.2 and above)
Copy Markdown
Open in ChatGPT
Open in Claude
Lists snapshot policies.
Synopsis
Lists snapshot policies.
Bash
lbcli list snapshots-policies [flags]Examples:
Bash
# List snapshots policies.lbcli -J $JWT list snapshots-policies --project-name=project1 --uuid=11117341-7283-4b45-84f5-1460f4c96127lbcli -J $JWT list snapshots-policies --project-name=project1 --volume-uuid=4c027341-7283-4b45-84f5-1460f4c96127| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for snapshots-policies. | |
| --project-name | string | The project name (required). | ||
| --UUID | string | Policy UUID (required if volume UUID not provided). | ||
| --volume-UUID | string | Volume UUID (required if UUID not provided). |
This command returns the following fields for each snapshot policy. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.
| Field | Type | Description |
|---|---|---|
| Description | String | Resource Description |
| State | String | Resource policy state:
|
| Name | String | Policy Name |
| UUID | String | Policy UUID |
| Resource UUID | String | Snapshot UUID which the policy relates to. |
| Resource Name | String | snapshot name which the policy relates to. |
| Schedule Policy | struct | See snapshot schedule policy table: |
Schedule policy table:
| Field | Type | Description |
|---|---|---|
| Schedule Policies | String | The following schedule policies are supported:
See tables below. |
| Retention | duration | Policy retention duration. |
Hourly snapshot schedule policy:
| Field | Type | Description |
|---|---|---|
| Start time | Time | Policy start time. |
| Hours in Cycle | Hours between snapshot creation cycles. |
Daily snapshot schedule policy:
| Field | Type | Description |
|---|---|---|
| Start Time | Time | Policy start time. |
| Days in Cycle | integer | Days between snapshot creation cycles. |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
lbcli list events (2.3.8 and above)© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message