CLI
Overview
The oblien snapshots command manages workspace snapshots (point-in-time captures) and versioned archives for backup and restoration.
Snapshot Commands
Create Snapshot
oblien snapshots create <ws-id> [--after resume|stop]Creates a snapshot. The --after flag controls what happens after the snapshot: resume the workspace or keep it stopped.
Restore Snapshot
oblien snapshots restore <ws-id>Archive Commands
List Archives
oblien snapshots archives <ws-id>Create Archive
oblien snapshots create-archive <ws-id> [--version <v>]Get Archive Info
oblien snapshots get-archive <ws-id> <version>Delete Archive
oblien snapshots delete-archive <ws-id> <version> [--delete-file]Pass --delete-file to also remove the underlying archive file.
Delete All Archives
oblien snapshots delete-all-archives <ws-id> [--delete-files]Destructive operation — prompts for confirmation before proceeding.
Examples
oblien snapshots create ws_abc123
oblien snapshots create ws_abc123 --after stop
oblien snapshots restore ws_abc123
oblien snapshots archives ws_abc123
oblien snapshots create-archive ws_abc123 --version v1
oblien snapshots get-archive ws_abc123 v1
oblien snapshots delete-archive ws_abc123 v1
oblien snapshots delete-all-archives ws_abc123