Newer Version Available

This content describes an older version of this product. View Latest

Salesforce CLI Snapshot Commands

You must use Salesforce CLI commands to create and manage your scratch org snapshots.
org create snapshot
Create a snapshot of a scratch org.
org delete snapshot
Delete a scratch org snapshot.
org get snapshot
Get details about a scratch org snapshot.
org list snapshot
List scratch org snapshots that belong to the specified Dev Hub org.

Get Help in the Terminal for Command Syntax

The --help and -h flags enable you to get varying levels of help (comprehensive or abbreviated) right in the command window:

Example:

1sf org create snapshot --help