|
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. More... | |
| std::string | backupType |
| Type of snapshot to create. More... | |
| std::map< std::string, std::string > | backupObjectsMap |
| Map of objects to be captured in the backup; must be specified when creating a full snapshot and left unspecified when creating an incremental or differential snapshot. More... | |
| std::string | datasinkName |
| Data sink through which the 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 snapshot of existing objects, at the remote file store accessible via the data sink specified by datasinkName.
Definition at line 23 of file create_backup.h.
|
inline |
Constructs a CreateBackupRequest object with default parameters.
Definition at line 28 of file create_backup.h.
|
inline |
Constructs a CreateBackupRequest object with the specified parameters.
| [in] | backupName_ | Name for this backup. If the backup already exists, only an incremental or differential backup can be made, unless recreate is set to true. |
| [in] | backupType_ | Type of snapshot to create. Supported values:
|
| [in] | backupObjectsMap_ | Map of objects to be captured in the backup; must be specified when creating a full snapshot and left unspecified when creating an incremental or differential snapshot.
|
| [in] | datasinkName_ | Data sink through which the backup will be stored. |
| [in] | options_ | Optional parameters.
|
Definition at line 252 of file create_backup.h.
| std::string gpudb::CreateBackupRequest::backupName |
Name for this backup.
If the backup already exists, only an incremental or differential backup can be made, unless recreate is set to true.
Definition at line 267 of file create_backup.h.
| std::map<std::string, std::string> gpudb::CreateBackupRequest::backupObjectsMap |
Map of objects to be captured in the backup; must be specified when creating a full snapshot and left unspecified when creating an incremental or differential snapshot.
Definition at line 344 of file create_backup.h.
| std::string gpudb::CreateBackupRequest::backupType |
Type of snapshot to create.
Supported values:
Definition at line 283 of file create_backup.h.
| std::string gpudb::CreateBackupRequest::datasinkName |
Data sink through which the backup will be stored.
Definition at line 349 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 420 of file create_backup.h.