org get snapshot

Get details about a scratch org snapshot.

Description for org get snapshot 

Snapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. After the status changes to Active, you can use the snapshot to create scratch orgs.

To create a snapshot, use the “sf org create snapshot” command. To retrieve a list of all snapshots, use “sf org list snapshot”.

Aliases for org get snapshot 

force:org:snapshot:get

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑snapshot‑sType: Value
Required

Name or ID of snapshot to retrieve.

The IDs of scratch org snapshots start with 0Oo.
‑‑target‑dev‑hub‑vType: Value
Required

Username or alias of the Dev Hub org. Not required if the target-dev-hub configuration variable is already set.

Examples for org get snapshot 

Get snapshot details using its ID and the default Dev Hub org:

1sf org get snapshot --snapshot 0Oo...

Get snapshot details using its name from a Dev Hub org with alias SnapshotDevHub:

1sf org get snapshot --snapshot Dependencies --target-dev-hub SnapshotDevHub