restore_from_backup
Restore a database from a backup to a new instance by specifying source database, backup label, and configuration for the restored database.
Instructions
Restore a database from a backup to a new instance.
Args: database_id: The source database ID or label backup_label: The backup label/timestamp to restore from database_label: Label for the new restored database plan: Plan ID for the new database region: Region for the new database vpc_id: VPC ID for the new database
Returns: Information about the restoration process
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backup_label | Yes | ||
database_id | Yes | ||
database_label | Yes | ||
plan | Yes | ||
region | Yes | ||
vpc_id | No |
Input Schema (JSON Schema)
{
"properties": {
"backup_label": {
"title": "Backup Label",
"type": "string"
},
"database_id": {
"title": "Database Id",
"type": "string"
},
"database_label": {
"title": "Database Label",
"type": "string"
},
"plan": {
"title": "Plan",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
},
"vpc_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Vpc Id"
}
},
"required": [
"database_id",
"backup_label",
"database_label",
"plan",
"region"
],
"type": "object"
}