GPUdb C++ API
Version 7.2.3.0
|
A set of parameters for GPUdb::createBackup. More...
#include <gpudb/protocol/create_backup.h>
Public Member Functions | |
CreateBackupRequest () | |
Constructs a CreateBackupRequest object with default parameters. More... | |
CreateBackupRequest (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_) | |
Constructs a CreateBackupRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | backupName |
Name for this backup object. More... | |
std::string | backupType |
Type of backup to create. More... | |
std::map< std::string, std::string > | backupObjectsMap |
Map of objects to be captured in the backup. More... | |
std::string | datasinkName |
Datasink where backup will be stored. More... | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::createBackup.
Creates a database backup containing a current snapshot of existing objects.
Definition at line 19 of file create_backup.h.
|
inline |
Constructs a CreateBackupRequest object with default parameters.
Definition at line 24 of file create_backup.h.
|
inline |
Constructs a CreateBackupRequest object with the specified parameters.
[in] | backupName_ | Name for this backup object. If the backup object already exists, only an incremental or differential backup can be made, unless recreate is specified |
[in] | backupType_ | Type of backup to create. Supported values: |
[in] | backupObjectsMap_ | Map of objects to be captured in the backup. Error if empty and creating full backup. Error if non-empty when creating an incremental or differential backup.
|
[in] | datasinkName_ | Datasink where backup will be stored. |
[in] | options_ | Optional parameters.
|
Definition at line 209 of file create_backup.h.
std::string gpudb::CreateBackupRequest::backupName |
Name for this backup object.
If the backup object already exists, only an incremental or differential backup can be made, unless recreate is specified
Definition at line 223 of file create_backup.h.
std::map<std::string, std::string> gpudb::CreateBackupRequest::backupObjectsMap |
Map of objects to be captured in the backup.
Error if empty and creating full backup. Error if non-empty when creating an incremental or differential backup.
Definition at line 280 of file create_backup.h.
std::string gpudb::CreateBackupRequest::backupType |
std::string gpudb::CreateBackupRequest::datasinkName |
Datasink where backup will be stored.
Definition at line 285 of file create_backup.h.
std::map<std::string, std::string> gpudb::CreateBackupRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 354 of file create_backup.h.