Previous topic

The cinder.backup.api Module

Next topic

The cinder.backup.rpcapi Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.backup.manager Module

Backup manager manages volume backups.

Volume Backups are full copies of persistent volumes stored in Swift object storage. 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).
class BackupManager(service_name=None, *args, **kwargs)

Bases: cinder.manager.SchedulerDependentManager

Manages backup of block storage devices.

RPC_API_VERSION = '1.0'
create_backup(context, backup_id)

Create volume backups using configured backup service.

delete_backup(context, backup_id)

Delete volume backup from configured backup service.

init_host()

Do any initialization that needs to be run if this is a standalone service.

restore_backup(context, backup_id, volume_id)

Restore volume backups from configured backup service.