Skip to main content

◆ createBackup() [1/2]

CreateBackupResponse kinetica.Kinetica.createBackup (CreateBackupRequestrequest_)
inline

Creates a database backup, containing a snapshot of existing objects, at the remote file store accessible via the data sink specified by datasink_name.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 16892 of file KineticaFunctions.cs.

◆ createBackup() [2/2]

CreateBackupResponse kinetica.Kinetica.createBackup (stringbackup_name,
stringbackup_type,
IDictionary< string, string >backup_objects_map,
stringdatasink_name,
IDictionary< string, string >options = null )
inline

Creates a database backup, containing a snapshot of existing objects, at the remote file store accessible via the data sink specified by datasink_name .

Parameters
backup_nameName for this backup. If the backup already exists, only an incremental or differential backup can be made, unless RECREATE is set to TRUE.
backup_typeType of snapshot to create. Supported values:
  • DIFFERENTIAL: Snapshot of changes in the database objects and data since the last full snapshot.
  • FULL: Snapshot of the given database objects and data.
  • INCREMENTAL: Snapshot of changes in the database objects and data since the last snapshot of any kind.
backup_objects_mapMap of objects to be captured in the backup; must be specified when creating a full snapshot and left unspecified when creating an incremental or differential snapshot.The default value is an empty Dictionary.
datasink_nameData sink through which the backup will be stored.
optionsOptional parameters.
  • BLOCK_TABLE_MUTATIONS: Whether or not to block all mutations on target tables while they are being backed up. Supported values:
    • TRUE: Block all mutations on target tables while they are being backed up.
    • FALSE: Only block mutations on a target table at the point a disk eviction is necessary.
    The default value is FALSE.
  • CHECKSUM: Whether or not to calculate checksums for backup files. Supported values:The default value is FALSE.
  • COMMENT: Comments to store with this backup.
  • DDL_ONLY: Whether or not, for tables, to only backup DDL and not table data. Supported values:
    • TRUE: For tables, only back up DDL, not data.
    • FALSE: For tables, back up DDL and data.
    The default value is FALSE.
  • DELETE_INTERMEDIATE_BACKUPS: Whether or not to delete any intermediate snapshots when the backup_type is set to DIFFERENTIAL. Supported values:The default value is FALSE.
  • DRY_RUN: Whether or not to perform a dry run of a backup operation. Supported values:The default value is FALSE.
  • MAX_INCREMENTAL_BACKUPS_TO_KEEP: Maximum number of incremental snapshots to keep. The default value is ‘-1’.
  • RECREATE: Whether or not to replace an existing backup object with a new backup with a full snapshot, if one already exists. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 17261 of file KineticaFunctions.cs.

◆ CreateBackupAsync() [1/2]

async System.Threading.Tasks.Task< CreateBackupResponse > kinetica.Kinetica.CreateBackupAsync (CreateBackupRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Creates a database backup, containing a snapshot of existing objects, at the remote file store accessible via the data sink specified by datasink_name.

(async)

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 16914 of file KineticaFunctions.cs.

◆ CreateBackupAsync() [2/2]

async System.Threading.Tasks.Task< CreateBackupResponse > kinetica.Kinetica.CreateBackupAsync (stringbackup_name,
stringbackup_type,
IDictionary< string, string >backup_objects_map,
stringdatasink_name,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Creates a database backup, containing a snapshot of existing objects, at the remote file store accessible via the data sink specified by datasink_name .

(async)

Parameters
backup_nameName for this backup. If the backup already exists, only an incremental or differential backup can be made, unless RECREATE is set to TRUE.
backup_typeType of snapshot to create. Supported values:
  • DIFFERENTIAL: Snapshot of changes in the database objects and data since the last full snapshot.
  • FULL: Snapshot of the given database objects and data.
  • INCREMENTAL: Snapshot of changes in the database objects and data since the last snapshot of any kind.
backup_objects_mapMap of objects to be captured in the backup; must be specified when creating a full snapshot and left unspecified when creating an incremental or differential snapshot.The default value is an empty Dictionary.
datasink_nameData sink through which the backup will be stored.
optionsOptional parameters.
  • BLOCK_TABLE_MUTATIONS: Whether or not to block all mutations on target tables while they are being backed up. Supported values:
    • TRUE: Block all mutations on target tables while they are being backed up.
    • FALSE: Only block mutations on a target table at the point a disk eviction is necessary.
    The default value is FALSE.
  • CHECKSUM: Whether or not to calculate checksums for backup files. Supported values:The default value is FALSE.
  • COMMENT: Comments to store with this backup.
  • DDL_ONLY: Whether or not, for tables, to only backup DDL and not table data. Supported values:
    • TRUE: For tables, only back up DDL, not data.
    • FALSE: For tables, back up DDL and data.
    The default value is FALSE.
  • DELETE_INTERMEDIATE_BACKUPS: Whether or not to delete any intermediate snapshots when the backup_type is set to DIFFERENTIAL. Supported values:The default value is FALSE.
  • DRY_RUN: Whether or not to perform a dry run of a backup operation. Supported values:The default value is FALSE.
  • MAX_INCREMENTAL_BACKUPS_TO_KEEP: Maximum number of incremental snapshots to keep. The default value is ‘-1’.
  • RECREATE: Whether or not to replace an existing backup object with a new backup with a full snapshot, if one already exists. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 17613 of file KineticaFunctions.cs.