sfdx force:org:snapshot:create

Snapshot a scratch org

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-v, --targetdevhubusername <targetdevhubusername>Username or alias for the dev hub org; overrides default dev hub org
--apiversion <apiversion>Override the api version used for api requests made by this command
-o, --sourceorg <sourceorg>ID or locally authenticated username or alias of scratch org to snapshot
-n, --snapshotname <snapshotname>Unique name of snapshot
-d, --description <description>Description of snapshot