Skip to main content

◆ dropBackup() [1/4]

DropBackupResponse gpudb::GPUdb::dropBackup (const DropBackupRequest &request_) const

Deletes one or more existing database backups and contained snapshots, 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.

◆ dropBackup() [2/4]

DropBackupResponse & gpudb::GPUdb::dropBackup (const DropBackupRequest &request_,
DropBackupResponse &response_ ) const

Deletes one or more existing database backups and contained snapshots, 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).

◆ dropBackup() [3/4]

DropBackupResponse gpudb::GPUdb::dropBackup (const std::string &backupName,
const std::string &datasinkName,
const std::map< std::string, std::string > &options ) const

Deletes one or more existing database backups and contained snapshots, accessible via the data sink specified by datasinkName.

Parameters
[in]backupNameName of the backup to be deleted. An empty string or '' will delete all existing backups. Any text followed by a '' will delete backups whose name starts with that text. When deleting multiple backups, delete_all_backups must be set to true.
[in]datasinkNameData sink through which the backup is accessible.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ dropBackup() [4/4]

DropBackupResponse & gpudb::GPUdb::dropBackup (const std::string &backupName,
const std::string &datasinkName,
const std::map< std::string, std::string > &options,
DropBackupResponse &response_ ) const

Deletes one or more existing database backups and contained snapshots, accessible via the data sink specified by datasinkName.

Parameters
[in]backupNameName of the backup to be deleted. An empty string or '' will delete all existing backups. Any text followed by a '' will delete backups whose name starts with that text. When deleting multiple backups, delete_all_backups must be set to true.
[in]datasinkNameData sink through which the backup is accessible.
[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).