db.restore
Restore an environment database from a snapshot. Takes a safety snapshot first. Production needs owner approval. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Environment: production, staging, or a preview name | |
| project | Yes | Project name | |
| snapshot | Yes |