Fork a database
fork_databaseCreates a NEW database, billed like any other, whose data is an instant copy of this one (for a test or staging copy), with the same users and passwords. It stays linked to its source for up to 7 days (no backups of its own, the source cannot be deleted) unless detach_database_fork ends that sooner. Retrying the same call is safe. Scope: vms.create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpc | No | Default: the source's private network; same region either way. | |
| name | Yes | Name of the new database. | |
| size_gb | No | Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size. | |
| database | Yes | The source database. | |
| idempotency_key | No |