![]() |
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Represents options used to run a restore operation through the service manager. More...
#include <BackupManager.h>
Classes | |
| struct | DatabaseFileSpec |
Public Member Functions | |
| const std::vector< DatabaseFileSpec > & | getDatabaseFiles () const |
| Returns the configured database file specifications. | |
| RestoreOptions & | setDatabase (const std::string &value) |
| Sets the database path to be restored. | |
| RestoreOptions & | setDatabase (const std::string &value, std::uint64_t length) |
| Sets the database path to be restored with a split length. | |
| RestoreOptions & | addDatabaseFile (const std::string &value) |
| Appends a database file path. | |
| RestoreOptions & | addDatabaseFile (const std::string &value, std::uint64_t length) |
| Appends a database file path with a split length. | |
| const std::vector< std::string > & | getBackupFiles () const |
| Returns the backup file paths. | |
| RestoreOptions & | addBackupFile (const std::string &value) |
| Appends a backup file path. | |
| RestoreOptions & | setBackupFile (const std::string &value) |
| Replaces the backup file paths with a single path. | |
| bool | getReplace () const |
| Returns whether the target database should be replaced. | |
| RestoreOptions & | setReplace (bool value) |
| Sets whether the target database should be replaced. | |
| const ServiceManager::VerboseOutput & | getVerboseOutput () const |
| Returns the verbose output callback. | |
| RestoreOptions & | setVerboseOutput (ServiceManager::VerboseOutput value) |
| Sets the verbose output callback. | |
| const std::optional< std::uint32_t > & | getParallelWorkers () const |
| Returns the requested number of parallel workers. | |
| RestoreOptions & | setParallelWorkers (std::uint32_t value) |
| Sets the requested number of parallel workers. | |
Represents options used to run a restore operation through the service manager.
Definition at line 162 of file BackupManager.h.
|
inline |
Appends a backup file path.
Definition at line 233 of file BackupManager.h.
|
inline |
Appends a database file path.
Definition at line 201 of file BackupManager.h.
|
inline |
Appends a database file path with a split length.
Definition at line 210 of file BackupManager.h.
|
inline |
Returns the backup file paths.
Definition at line 225 of file BackupManager.h.
|
inline |
Returns the configured database file specifications.
Definition at line 175 of file BackupManager.h.
|
inline |
Returns the requested number of parallel workers.
Definition at line 285 of file BackupManager.h.
|
inline |
Returns whether the target database should be replaced.
Definition at line 251 of file BackupManager.h.
|
inline |
Returns the verbose output callback.
Definition at line 268 of file BackupManager.h.
|
inline |
Replaces the backup file paths with a single path.
Definition at line 242 of file BackupManager.h.
|
inline |
Sets the database path to be restored.
Definition at line 183 of file BackupManager.h.
|
inline |
Sets the database path to be restored with a split length.
Definition at line 192 of file BackupManager.h.
|
inline |
Sets the requested number of parallel workers.
Definition at line 293 of file BackupManager.h.
|
inline |
Sets whether the target database should be replaced.
Definition at line 259 of file BackupManager.h.
|
inline |
Sets the verbose output callback.
Definition at line 276 of file BackupManager.h.