A set of parameters for GPUdb::verifyBackup. More…
#include <gpudb/protocol/verify_backup.h>
Public Member Functions | |
| VerifyBackupRequest () | |
| Constructs a VerifyBackupRequest object with default parameters. | |
| VerifyBackupRequest (const std::string &backupName_, const std::string &datasourceName_, const std::map< std::string, std::string > &options_) | |
| Constructs a VerifyBackupRequest object with the specified parameters. | |
Public Attributes | |
| std::string | backupName |
| Name of the backup. | |
| std::string | datasourceName |
| Data source through which the backup is accessible. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::verifyBackup.
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.
Definition at line 26 of file verify_backup.h.
Constructor & Destructor Documentation
◆ VerifyBackupRequest() [1/2]
| inline |
Constructs a VerifyBackupRequest object with default parameters.
Definition at line 31 of file verify_backup.h.
◆ VerifyBackupRequest() [2/2]
| inline |
Constructs a VerifyBackupRequest object with the specified parameters.
| [in] | backupName_ | Name 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] | datasourceName_ | Data source through which the backup is accessible. |
| [in] | options_ | Optional parameters.
|
Definition at line 61 of file verify_backup.h.
Member Data Documentation
◆ backupName
| std::string gpudb::VerifyBackupRequest::backupName |
Name 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 ”.
Definition at line 73 of file verify_backup.h.
◆ datasourceName
| std::string gpudb::VerifyBackupRequest::datasourceName |
Data source through which the backup is accessible.
Definition at line 78 of file verify_backup.h.
◆ options
| std::map<std::string, std::string> gpudb::VerifyBackupRequest::options |
Optional 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.
Definition at line 91 of file verify_backup.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/verify_backup.h