The freezer.openstack.backup Module

  1. Copyright 2014,2015 Hewlett-Packard Development Company, L.P.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Freezer Backup modes related functions

class freezer.openstack.backup.BackupOs(client_manager, container, storage)[source]

Bases: object

backup_cinder(volume_id, name=None, description=None, incremental=False)[source]
backup_cinder_by_glance(volume_id)[source]
Implements cinder backup:
  1. Gets a stream of the image from glance
  2. Stores resulted image to the swift as multipart object
Parameters:volume_id – id of volume for backup
backup_nova(instance_id)[source]

Implement nova backup :param instance_id: Id of the instance for backup :return: