restore-database
Restores a Firebird database from a specified backup file to a target path, allowing options to replace existing databases, set page size, and display detailed progress.
Instructions
Restores a Firebird database from a backup
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backupPath | Yes | Path to the backup file | |
options | No | ||
targetPath | Yes | Path where the database will be restored |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"backupPath": {
"description": "Path to the backup file",
"minLength": 1,
"type": "string"
},
"options": {
"additionalProperties": false,
"properties": {
"pageSize": {
"default": 4096,
"description": "Page size for the restored database",
"maximum": 16384,
"minimum": 1024,
"type": "integer"
},
"replace": {
"default": false,
"description": "Whether to replace the target database if it exists",
"type": "boolean"
},
"verbose": {
"default": false,
"description": "Whether to show detailed progress",
"type": "boolean"
}
},
"type": "object"
},
"targetPath": {
"description": "Path where the database will be restored",
"minLength": 1,
"type": "string"
}
},
"required": [
"backupPath",
"targetPath"
],
"type": "object"
}