Lightbits CLI Reference Guide
3.19.x
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 update snapshots-policy (2.2 and above)
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Updates an existing snapshot policy.
Synopsis
Updates a snapshot policy.
Bash
xxxxxxxxxxlbcli update snapshots-policy [flags]Examples:
Bash
# Update a snapshots policy.lbcli -J $JWT update snapshots-policy --project-name=project1 --name=policy1 --description="updated description" --hours-in-cycle=2 --retention-time=4hlbcli -J $JWT update snapshots-policy --project-name=project1 --uuid=4c027341-7283-4b45-84f5-1460f4c96127 --description="updated description" --days-in-cycle=3 --retention-time=1d| 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. |
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
lbcli update project (2.3.16 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