Skip to main content

◆ restoreBackup() [1/4]

RestoreBackupResponse gpudb::GPUdb::restoreBackup (const RestoreBackupRequest &request_) const

Restores database objects from a backup accessible via the data source specified by datasourceName.

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

◆ restoreBackup() [2/4]

RestoreBackupResponse & gpudb::GPUdb::restoreBackup (const RestoreBackupRequest &request_,
RestoreBackupResponse &response_ ) const

Restores database objects from a backup accessible via the data source specified by datasourceName.

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).

◆ restoreBackup() [3/4]

RestoreBackupResponse gpudb::GPUdb::restoreBackup (const std::string &backupName,
const std::map< std::string, std::string > &restoreObjectsMap,
const std::string &datasourceName,
const std::map< std::string, std::string > &options ) const

Restores database objects from a backup accessible via the data source specified by datasourceName.

Parameters
[in]backupNameName of the backup to restore from, which must refer to an existing backup. The default value is ”.
[in]restoreObjectsMapMap of database objects to be restored from the backup.
[in]datasourceNameData source through which the backup will be restored.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ restoreBackup() [4/4]

RestoreBackupResponse & gpudb::GPUdb::restoreBackup (const std::string &backupName,
const std::map< std::string, std::string > &restoreObjectsMap,
const std::string &datasourceName,
const std::map< std::string, std::string > &options,
RestoreBackupResponse &response_ ) const

Restores database objects from a backup accessible via the data source specified by datasourceName.

Parameters
[in]backupNameName of the backup to restore from, which must refer to an existing backup. The default value is ”.
[in]restoreObjectsMapMap of database objects to be restored from the backup.
[in]datasourceNameData source through which the backup will be restored.
[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).