freezer.openstack.restore module¶
Freezer restore modes related functions
- class freezer.openstack.restore.RestoreOs(client_manager, container, storage)¶
Bases:
object
- get_storage_info(path)¶
- restore_cinder(volume_id=None, backup_id=None, restore_from_timestamp=None)¶
Restoring cinder backup using :param volume_id: :param backup_id: :param restore_from_timestamp: :return:
- restore_cinder_by_glance(volume_id, restore_from_timestamp)¶
Define swift directory
Download and upload to glance
Create volume from glance
Delete
- Parameters
restore_from_timestamp (int) –
volume_id –
id of attached cinder volume