A set of parameters for Kinetica.alterBackup.
More...
A set of parameters for Kinetica.alterBackup.
Alters an existing database backup, accessible via the data sink specified by datasink_name.
Definition at line 19 of file AlterBackup.cs.
◆ AlterBackupRequest() [1/2]
| AlterBackupRequest.AlterBackupRequest |
( |
| ) |
|
|
inline |
◆ AlterBackupRequest() [2/2]
| AlterBackupRequest.AlterBackupRequest |
( |
string |
backup_name, |
|
|
string |
action, |
|
|
string |
_value, |
|
|
string |
datasink_name, |
|
|
IDictionary< string, string > |
options = null |
|
) |
| |
|
inline |
Constructs an AlterBackupRequest object with the specified parameters.
- Parameters
-
| backup_name | Name of the backup to be altered. |
| action | Operation to be applied. Supported values:
-
CHECKSUM: Calculate checksum for backed-up files.
-
DDL_ONLY: Whether or not to only save DDL and not back up table data, when taking future snapshots; set _value to 'true' or 'false' for DDL only or DDL and table data, respectively.
-
MAX_INCREMENTAL_BACKUPS_TO_KEEP: Maximum number of incremental snapshots to keep, when taking future snapshots; set _value to the number of snapshots to keep.
-
MERGE: Merges all snapshots within a backup and creates a single full snapshot.
-
PURGE: Deletes a snapshot from a backup; set _value to the snapshot ID to purge.
|
| _value | Value of the modification, depending on action . |
| datasink_name | Data sink through which the backup is accessible. |
| options | Optional parameters.
-
COMMENT: Comments to store with the backup.
-
DRY_RUN: Whether or not to perform a dry run of a backup alteration. Supported values:
The default value is FALSE.
The default value is an empty Dictionary. |
Definition at line 218 of file AlterBackup.cs.
◆ _value
| string AlterBackupRequest._value |
|
getset |
◆ action
| string AlterBackupRequest.action |
|
getset |
Operation to be applied.
Supported values:
-
CHECKSUM: Calculate checksum for backed-up files.
-
DDL_ONLY: Whether or not to only save DDL and not back up table data, when taking future snapshots; set _value to 'true' or 'false' for DDL only or DDL and table data, respectively.
-
MAX_INCREMENTAL_BACKUPS_TO_KEEP: Maximum number of incremental snapshots to keep, when taking future snapshots; set _value to the number of snapshots to keep.
-
MERGE: Merges all snapshots within a backup and creates a single full snapshot.
-
PURGE: Deletes a snapshot from a backup; set _value to the snapshot ID to purge.
Definition at line 113 of file AlterBackup.cs.
◆ backup_name
| string AlterBackupRequest.backup_name |
|
getset |
◆ datasink_name
| string AlterBackupRequest.datasink_name |
|
getset |
Data sink through which the backup is accessible.
Definition at line 120 of file AlterBackup.cs.
◆ options
| IDictionary<string, string> AlterBackupRequest.options = new Dictionary<string, string>() |
|
getset |
Optional parameters.
-
COMMENT: Comments to store with the backup.
-
DRY_RUN: Whether or not to perform a dry run of a backup alteration. Supported values:
The default value is FALSE.
The default value is an empty Dictionary.
Definition at line 146 of file AlterBackup.cs.
The documentation for this class was generated from the following file: