Restores database objects from a backup accessible via the data source specified by input parameter datasource_name.
Input Parameter Description
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| backup_name | string | Name of the backup to restore from, which must refer to an existing backup. The default value is ''. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| restore_objects_map | map of string to strings | Map of database objects to be restored from the backup.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| datasource_name | string | Data source through which the backup will be restored. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| options | map of string to strings | Optional parameters. The default value is an empty map ( {} ).
|
Output Parameter Description
| Name | Type | Description |
|---|---|---|
| backup_name | string | Value of input parameter backup_name. |
| backup_id | long | ID of the snapshot that was restored. |
| restored_bytes | long | Total size of data restored from backup. |
| restored_files | long | Total number of files restored from backup. |
| restored_records | long | Total number of records restored from backup. |
| restored_objects | map of string to strings | Database objects that were successfully restored and their associated types. |
| renamed_objects | map of string to strings | Original and new names of database objects that were successfully restored and their associated types. |
| failed_objects | map of string to strings | Database objects that failed to be restored and their associated types. |
| info | map of string to strings | Additional information. |