Handles all requests relating to the volume backups service.
Bases: cinder.db.base.Base
API for interacting with the volume backup manager.
Make the RPC call to create a volume backup.
Make the RPC call to delete a volume backup.
Call backup manager to execute backup delete or force delete operation. :param context: running context :param backup: the dict of backup that is got from DB. :param force: indicate force delete or not :raises: InvalidBackup :raises: BackupDriverException :raises: ServiceNotFound
Make the RPC call to export a volume backup.
Call backup manager to execute backup export.
Parameters: |
|
---|---|
Returns: | dictionary – a description of how to import the backup |
Returns: | contains ‘backup_url’ and ‘backup_service’ |
Raises: | InvalidBackup |
Make the RPC call to import a volume backup.
Parameters: |
|
---|---|
Raises: | InvalidBackup |
Raises: | ServiceNotFound |
Raises: | InvalidInput |
Make the RPC call to reset a volume backup’s status.
Call backup manager to execute backup status reset operation. :param context: running context :param backup_id: which backup’s status to be reset :parma status: backup’s status to be reset :raises: InvalidBackup
Make the RPC call to restore a volume backup.