Skip to main content

◆ verifyBackup() [1/4]

VerifyBackupResponse gpudb::GPUdb::verifyBackup (const std::string &backupName,
const std::string &datasourceName,
const std::map< std::string, std::string > &options ) const

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasourceName.

By default all snapshots are inspected unless the option backup_id is used to target a specific instance. Returns backup verification results.

Parameters
[in]backupNameName of the backup. An empty string or '' will check all existing backups. Any text followed by a '' will inspect backups whose name starts with that text. The default value is ”.
[in]datasourceNameData source through which the backup is accessible.
[in]optionsOptional parameters.
  • verify_backup_backup_id: ID of the snapshot to verify. Set to ‘-1’ to verify all snapshots in the backup. Leave empty to verify only the most recent snapshot. The default value is ‘-1’.
The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ verifyBackup() [2/4]

VerifyBackupResponse & gpudb::GPUdb::verifyBackup (const std::string &backupName,
const std::string &datasourceName,
const std::map< std::string, std::string > &options,
VerifyBackupResponse &response_ ) const

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasourceName.

By default all snapshots are inspected unless the option backup_id is used to target a specific instance. Returns backup verification results.

Parameters
[in]backupNameName of the backup. An empty string or '' will check all existing backups. Any text followed by a '' will inspect backups whose name starts with that text. The default value is ”.
[in]datasourceNameData source through which the backup is accessible.
[in]optionsOptional parameters.
  • verify_backup_backup_id: ID of the snapshot to verify. Set to ‘-1’ to verify all snapshots in the backup. Leave empty to verify only the most recent snapshot. The default value is ‘-1’.
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).

◆ verifyBackup() [3/4]

VerifyBackupResponse gpudb::GPUdb::verifyBackup (const VerifyBackupRequest &request_) const

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasourceName.

By default all snapshots are inspected unless the option backup_id is used to target a specific instance. Returns backup verification results.

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

◆ verifyBackup() [4/4]

VerifyBackupResponse & gpudb::GPUdb::verifyBackup (const VerifyBackupRequest &request_,
VerifyBackupResponse &response_ ) const

Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasourceName.

By default all snapshots are inspected unless the option backup_id is used to target a specific instance. Returns backup verification results.

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