A set of parameters for Kinetica.restoreBackup.
More...
|
| RestoreBackupRequest () |
| Constructs a RestoreBackupRequest object with default parameters. More...
|
|
| RestoreBackupRequest (string backup_name, IDictionary< string, string > restore_objects_map, string datasource_name, IDictionary< string, string > options=null) |
| Constructs a RestoreBackupRequest object with the specified parameters. More...
|
|
| RestoreBackupRequest () |
| Constructs a RestoreBackupRequest object with default parameters. More...
|
|
| RestoreBackupRequest (string backup_name, IDictionary< string, string > restore_objects_map, string datasource_name, IDictionary< string, string > options=null) |
| Constructs a RestoreBackupRequest object with the specified parameters. More...
|
|
| KineticaData (KineticaType type) |
| Constructor from Kinetica Type More...
|
|
| KineticaData (System.Type type=null) |
| Default constructor, with optional System.Type More...
|
|
object | Get (int fieldPos) |
| Retrieve a specific property from this object More...
|
|
void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object More...
|
|
| KineticaData (KineticaType type) |
| Constructor from Kinetica Type More...
|
|
| KineticaData (System.Type type=null) |
| Default constructor, with optional System.Type More...
|
|
object | Get (int fieldPos) |
| Retrieve a specific property from this object More...
|
|
void | Put (int fieldPos, object fieldValue) |
| Write a specific property to this object More...
|
|
A set of parameters for Kinetica.restoreBackup.
Restores objects from a backup instance. Response from a backup restoration operation.
Definition at line 16 of file RestoreBackup.cs.
◆ RestoreBackupRequest() [1/4]
kinetica.RestoreBackupRequest.RestoreBackupRequest |
( |
| ) |
|
|
inline |
◆ RestoreBackupRequest() [2/4]
kinetica.RestoreBackupRequest.RestoreBackupRequest |
( |
string |
backup_name, |
|
|
IDictionary< string, string > |
restore_objects_map, |
|
|
string |
datasource_name, |
|
|
IDictionary< string, string > |
options = null |
|
) |
| |
|
inline |
Constructs a RestoreBackupRequest object with the specified parameters.
- Parameters
-
backup_name | Name of the backup object, which must refer to a currently existing backup. The default value is ''. |
restore_objects_map | Map of objects to be restored from the backup. Error if empty.
-
ALL: All object types in a schema (excludes permissions, system configuration, host secret key, KiFS directories and user defined functions)
-
TABLE: Database Table
-
CREDENTIAL: Credential
-
CONTEXT: Context
-
DATASINK: Data Sink
-
DATASOURCE: Data Source
-
STORED_PROCEDURE: SQL Procedure
-
MONITOR: Table Monitor (Stream)
-
USER: User (internal and external) and associated permissions
-
ROLE: Role, role members (roles or users, recursively) and associated permissions
-
CONFIGURATION: If TRUE, restore the database configuration file. Supported values:
The default value is FALSE.
|
datasource_name | Datasource where backup is located. |
options | Optional parameters.
-
BACKUP_ID: Backup instance ID to restore. Leave empty to restore the most recent backup instance. The default value is ''.
-
RESTORE_POLICY: Behavior to apply when restoring objects that already exist. Supported values:
-
NONE: If an object to be restored currently exists with the same name, abort and return error
-
REPLACE: If an object to be restored currently exists with the same name, replace it with the backup version
-
RENAME: If an object to be restored currently exists with the same name, rename the original version
The default value is NONE.
-
RENAMED_OBJECTS_SCHEMA: If the restore policy is rename, optionally use this schema for renamed objects instead of a default generated one. The default value is ''.
-
CREATE_SCHEMA_IF_NOT_EXIST: Create the schema for an object to be restored if it does not currently exist. Error otherwise. Supported values:
The default value is TRUE.
-
DDL_ONLY: Only recreates the objects from their DDL, do not restore table data. Supported values:
The default value is FALSE.
-
CHECKSUM: Verify checksum for backup files. Supported values:
The default value is TRUE.
-
DRY_RUN: Does a dry-run restoration operation. Supported values:
The default value is FALSE.
The default value is an empty Dictionary. |
Definition at line 603 of file RestoreBackup.cs.
◆ RestoreBackupRequest() [3/4]
kinetica.RestoreBackupRequest.RestoreBackupRequest |
( |
| ) |
|
|
inline |
◆ RestoreBackupRequest() [4/4]
kinetica.RestoreBackupRequest.RestoreBackupRequest |
( |
string |
backup_name, |
|
|
IDictionary< string, string > |
restore_objects_map, |
|
|
string |
datasource_name, |
|
|
IDictionary< string, string > |
options = null |
|
) |
| |
|
inline |
Constructs a RestoreBackupRequest object with the specified parameters.
- Parameters
-
backup_name | Name of the backup object, which must refer to a currently existing backup. The default value is ''. |
restore_objects_map | Map of objects to be restored from the backup. Error if empty.
-
ALL: All object types in a schema (excludes permissions, system configuration, host secret key, KiFS directories and user defined functions)
-
TABLE: Database Table
-
CREDENTIAL: Credential
-
CONTEXT: Context
-
DATASINK: Data Sink
-
DATASOURCE: Data Source
-
STORED_PROCEDURE: SQL Procedure
-
MONITOR: Table Monitor (Stream)
-
USER: User (internal and external) and associated permissions
-
ROLE: Role, role members (roles or users, recursively) and associated permissions
-
CONFIGURATION: If TRUE, restore the database configuration file. Supported values:
The default value is FALSE.
|
datasource_name | Datasource where backup is located. |
options | Optional parameters.
-
BACKUP_ID: Backup instance ID to restore. Leave empty to restore the most recent backup instance. The default value is ''.
-
RESTORE_POLICY: Behavior to apply when restoring objects that already exist. Supported values:
-
NONE: If an object to be restored currently exists with the same name, abort and return error
-
REPLACE: If an object to be restored currently exists with the same name, replace it with the backup version
-
RENAME: If an object to be restored currently exists with the same name, rename the original version
The default value is NONE.
-
RENAMED_OBJECTS_SCHEMA: If the restore policy is rename, optionally use this schema for renamed objects instead of a default generated one. The default value is ''.
-
CREATE_SCHEMA_IF_NOT_EXIST: Create the schema for an object to be restored if it does not currently exist. Error otherwise. Supported values:
The default value is TRUE.
-
DDL_ONLY: Only recreates the objects from their DDL, do not restore table data. Supported values:
The default value is FALSE.
-
CHECKSUM: Verify checksum for backup files. Supported values:
The default value is TRUE.
-
DRY_RUN: Does a dry-run restoration operation. Supported values:
The default value is FALSE.
The default value is an empty Dictionary. |
Definition at line 603 of file RestoreBackup.cs.
◆ backup_name
string kinetica.RestoreBackupRequest.backup_name = "" |
|
getset |
Name of the backup object, which must refer to a currently existing backup.
The default value is ''.
Definition at line 199 of file RestoreBackup.cs.
◆ datasource_name
string kinetica.RestoreBackupRequest.datasource_name |
|
getset |
◆ options
IDictionary< string, string > kinetica.RestoreBackupRequest.options = new Dictionary<string, string>() |
|
getset |
Optional parameters.
-
BACKUP_ID: Backup instance ID to restore. Leave empty to restore the most recent backup instance. The default value is ''.
-
RESTORE_POLICY: Behavior to apply when restoring objects that already exist. Supported values:
-
NONE: If an object to be restored currently exists with the same name, abort and return error
-
REPLACE: If an object to be restored currently exists with the same name, replace it with the backup version
-
RENAME: If an object to be restored currently exists with the same name, rename the original version
The default value is NONE.
-
RENAMED_OBJECTS_SCHEMA: If the restore policy is rename, optionally use this schema for renamed objects instead of a default generated one. The default value is ''.
-
CREATE_SCHEMA_IF_NOT_EXIST: Create the schema for an object to be restored if it does not currently exist. Error otherwise. Supported values:
The default value is TRUE.
-
DDL_ONLY: Only recreates the objects from their DDL, do not restore table data. Supported values:
The default value is FALSE.
-
CHECKSUM: Verify checksum for backup files. Supported values:
The default value is TRUE.
-
DRY_RUN: Does a dry-run restoration operation. Supported values:
The default value is FALSE.
The default value is an empty Dictionary.
Definition at line 397 of file RestoreBackup.cs.
◆ restore_objects_map
IDictionary< string, string > kinetica.RestoreBackupRequest.restore_objects_map = new Dictionary<string, string>() |
|
getset |
Map of objects to be restored from the backup.
-
ALL: All object types in a schema (excludes permissions, system configuration, host secret key, KiFS directories and user defined functions)
-
TABLE: Database Table
-
CREDENTIAL: Credential
-
CONTEXT: Context
-
DATASINK: Data Sink
-
DATASOURCE: Data Source
-
STORED_PROCEDURE: SQL Procedure
-
MONITOR: Table Monitor (Stream)
-
USER: User (internal and external) and associated permissions
-
ROLE: Role, role members (roles or users, recursively) and associated permissions
-
CONFIGURATION: If TRUE, restore the database configuration file. Supported values:
The default value is FALSE.
Definition at line 279 of file RestoreBackup.cs.
The documentation for this class was generated from the following file:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/RestoreBackup.cs