# create

## Usage

```bash
bdy sandbox snapshot create|add [options] <identifier>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `identifier` | Sandbox identifier (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-p, --project <name>` | Project name. Can be set via variable: BUDDY_PROJECT |
| `-n, --name <name>` | Snapshot name (optional, auto-generated if not provided) |
| `--wait [seconds]` | Wait until operation completes |
| `-h, --help` | display help for command |

## Examples

### Create snapshot of sandbox with name

```bash
bdy sb snap create sandbox-identifier -n "my-snapshot"
```

### Create snapshot of sandbox and wait for it to complete

```bash
bdy sb snap create sandbox-identifier --wait
```


---
Original source: https://buddy.works/docs/cli/sandbox/snapshot/create