Backup manager manages volume backups.
Volume Backups are full copies of persistent volumes stored in a backup store e.g. an object store or any other backup store if and when support is added. They are usable without the original object being available. A volume backup can be restored to the original volume it was created from or any other available volume with a minimum size of the original volume. Volume backups can be created, restored, deleted and listed.
Related Flags
backup_topic: | What rpc topic to listen to (default: cinder-backup). |
---|---|
backup_manager: | The module name of a class derived from manager.Manager (default: cinder.backup.manager.Manager). |
Bases: cinder.manager.SchedulerDependentManager
Manages backup of block storage devices.
Check if the backup driver supports force delete operation.
Parameters: | context – running context |
---|
Create volume backups using configured backup service.
Delete volume backup from configured backup service.
This function maps old backup services to backup drivers.
Export all volume backup metadata details to allow clean import.
Export backup metadata so it could be re-imported into the database without any prerequisite in the backup database.
Parameters: |
|
---|---|
Returns: | backup_record - a description of how to import the backup |
Returns: | contains ‘backup_url’ - how to import the backup, and |
Returns: | ‘backup_service’ describing the needed driver. |
Raises: | InvalidBackup |
Import all volume backup metadata details to the backup db.
Parameters: |
|
---|---|
Raises: | InvalidBackup |
Raises: | ServiceNotFound |
Run initialization needed for a standalone service.
Reset volume backup status.
Parameters: |
|
---|---|
Raises: | InvalidBackup |
Raises: | BackupVerifyUnsupportedDriver |
Raises: | AttributeError |
Restore volume backups from configured backup service.