Usage
Options
Global Options
- Storage backend configuration (
-store,-store-path, etc.) - Encryption credentials (
-encryption-password,-encryption-key, etc.) - Verbosity flags (
-verbose,-quiet,-debug)
Enable verbose output with additional details about snapshot loading and catalog reconciliation.
Examples
Output
The command displays a table with the following columns:Column Descriptions
- Seq — Snapshot sequence number (increments with each backup)
- Created — Timestamp when the snapshot was created (UTC)
- Snapshot Hash — Unique identifier for the snapshot (SHA-256 hash, first 16 hex chars shown)
- Source — Source type (local, gdrive, onedrive, sftp)
- Account — Account identifier for cloud sources (email for Drive/OneDrive)
- Path — Source path for local/SFTP sources
- Tags — Comma-separated tags applied to the snapshot
Snapshot hashes are displayed as short prefixes for readability. Use the full hash or short prefix with other commands like
cloudstic restore a3f8d2.Snapshot Identity
Each snapshot is associated with a source identity consisting of:- Source type (local, gdrive, onedrive, sftp)
- Account (for cloud sources)
- Path (for local/SFTP sources)
Snapshot Catalog
Cloudstic maintains a snapshot catalog (index/snapshots) that stores lightweight summaries of all snapshots. This allows the list command to display results quickly without fetching every individual snapshot object.
The catalog automatically reconciles with the repository on load:
- Missing snapshots found via
LIST snapshot/are added to the catalog - Orphaned catalog entries (snapshot object deleted) are removed
- Self-healing ensures the catalog stays in sync
Filtering and Sorting
Thelist command displays all snapshots sorted by creation time (oldest first). For more advanced filtering and snapshot management, use:
- cloudstic forget — Remove snapshots based on retention policies with filtering by tag, source, account, or path
- cloudstic diff — Compare two snapshots to see what changed
Performance
Thelist command is fast because:
- Reads from the snapshot catalog (single object fetch)
- Does not load individual snapshot objects
- Does not traverse HAMT trees or file metadata
Empty Repository
If the repository has no snapshots yet:cloudstic backup to create your first snapshot.
Encryption
If your repository is encrypted, you must provide valid credentials:list command decrypts the catalog and individual snapshot objects as needed.
Machine-Readable Output
For scripting and automation, consider using:cloudstic cat index/snapshots— Display raw JSON snapshot catalogcloudstic cat index/latest— Display the latest snapshot referencecloudstic cat snapshot/<hash>— Display a specific snapshot’s JSON
See Also
- cloudstic ls — Browse files within a specific snapshot
- cloudstic backup — Create a new backup snapshot
- cloudstic restore — Restore files from a snapshot
- cloudstic forget — Remove snapshots based on retention policies