Skip to main content

◆ createBackup() [1/4]

CreateBackupResponse gpudb::GPUdb::createBackup (const CreateBackupRequest &request_) const

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

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

◆ createBackup() [2/4]

CreateBackupResponse & gpudb::GPUdb::createBackup (const CreateBackupRequest &request_,
CreateBackupResponse &response_ ) const

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

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ createBackup() [3/4]

CreateBackupResponse gpudb::GPUdb::createBackup (const std::string &backupName,
const std::string &backupType,
const std::map< std::string, std::string > &backupObjectsMap,
const std::string &datasinkName,
const std::map< std::string, std::string > &options ) const

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

Parameters
[in]backupNameName for this backup. If the backup already exists, only an incremental or differential backup can be made, unless recreate is set to true.
[in]backupTypeType of snapshot to create. Supported values:
[in]backupObjectsMapMap 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 map.
[in]datasinkNameData sink through which the backup will be stored.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createBackup() [4/4]

CreateBackupResponse & gpudb::GPUdb::createBackup (const std::string &backupName,
const std::string &backupType,
const std::map< std::string, std::string > &backupObjectsMap,
const std::string &datasinkName,
const std::map< std::string, std::string > &options,
CreateBackupResponse &response_ ) const

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

Parameters
[in]backupNameName for this backup. If the backup already exists, only an incremental or differential backup can be made, unless recreate is set to true.
[in]backupTypeType of snapshot to create. Supported values:
[in]backupObjectsMapMap 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 map.
[in]datasinkNameData sink through which the backup will be stored.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).