Client side of the volume backup RPC API.
-
class BackupAPI
Bases: object
Client side of the volume rpc API.
API version history:
1.0 - Initial version.
1.1 - Changed methods to accept backup objects instead of IDs.
-
BASE_RPC_API_VERSION = '1.0'
-
RPC_API_VERSION = '1.1'
-
check_support_to_force_delete(ctxt, host)
-
create_backup(ctxt, backup)
-
delete_backup(ctxt, backup)
-
export_record(ctxt, backup)
-
import_record(ctxt, host, backup, backup_service, backup_url, backup_hosts)
-
reset_status(ctxt, backup, status)
-
restore_backup(ctxt, volume_host, backup, volume_id)