Skip to main content

◆ adminBackupBegin() [1/4]

AdminBackupBeginResponse gpudb::GPUdb::adminBackupBegin (const AdminBackupBeginRequest &request_) const

Prepares the system for a backup by closing all open file handles after allowing current active jobs to complete.

When the database is in backup mode, queries that result in a disk write operation will be blocked until backup mode has been completed by using adminBackupEnd.

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

◆ adminBackupBegin() [2/4]

AdminBackupBeginResponse & gpudb::GPUdb::adminBackupBegin (const AdminBackupBeginRequest &request_,
AdminBackupBeginResponse &response_ ) const

Prepares the system for a backup by closing all open file handles after allowing current active jobs to complete.

When the database is in backup mode, queries that result in a disk write operation will be blocked until backup mode has been completed by using adminBackupEnd.

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

◆ adminBackupBegin() [3/4]

AdminBackupBeginResponse gpudb::GPUdb::adminBackupBegin (const std::map< std::string, std::string > &options) const

Prepares the system for a backup by closing all open file handles after allowing current active jobs to complete.

When the database is in backup mode, queries that result in a disk write operation will be blocked until backup mode has been completed by using adminBackupEnd.

Parameters
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ adminBackupBegin() [4/4]

AdminBackupBeginResponse & gpudb::GPUdb::adminBackupBegin (const std::map< std::string, std::string > &options,
AdminBackupBeginResponse &response_ ) const

Prepares the system for a backup by closing all open file handles after allowing current active jobs to complete.

When the database is in backup mode, queries that result in a disk write operation will be blocked until backup mode has been completed by using adminBackupEnd.

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