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 create snapshot (2.2 and above)
Copy Markdown
Open in ChatGPT
Open in Claude
Creates a new snapshot.
Synopsis
Creates a new snapshot with specified properties.
Bash
lbcli create snapshot [flags]Examples:
Bash
# Create a Snapshot with name "snapshot_0" from volume with UUID XXX and description DESCRIPTIONlbcli create snapshot --name=snapshot_0 --source-volume-uuid=XXX --description=DESCRIPTION --project-name=default| Flag | Short | Type | Default | Description | Version |
|---|---|---|---|---|---|
| --description | string | Snapshot description (optional) | |||
| --help | -h | bool | Help for snapshot. | ||
| --name | string | Snapshot name (required). | |||
| --project-name | string | The project associated with the snapshot (required). | |||
| --retention-time | string | 0 | Retention time to keep the snapshot (optional). Retention time is encoded as a string with a {value}{unit} format. {value} is a decimal number and {unit} is one of the following: ns, us, ms, s, m, h. Example: 7200s, 1200m, 2h. | 2.3.16 and above | |
| --source-volume-name | string | Volume name from which to take the snapshot (required if source-volume-UUID was not provided). | |||
| --source-volume-UUID | string | Volume UUID from which to take the snapshot (required if source-volume-name was not provided). |
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 create snapshots-policy (2.2 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