Create Sandbox
Create a new Salesforce sandbox org.
sfp-pro | sfp (community) | |
---|---|---|
Availability | ✅ | ❌ |
From | August 24 |
This command creates a new sandbox org from a source org (production or another sandbox). You can specify the sandbox configuration using command-line options or a definition file.
Usage
Flags
Flag | Required | Description |
---|---|---|
| No | Username or alias of the production org |
| Yes (if no definition file) | Name of the sandbox to create |
| No | Name of the source sandbox to clone |
| No | Path to a sandbox definition file |
| No | Description of the sandbox |
| No | Format output as JSON |
| No | Logging level for this command invocation |
Examples
Sandbox Definition File
If using a definition file, create a JSON file (default location: config/sandbox-def.json
) with the following structure:
Note: When using a definition file, the --name
and --sourcesandbox
flags are ignored.
Last updated