backup nova and cinder to local or ssh

Registered by yapeng Yang

When freezer backup openstack cinder or nova, It backup it in swift default. We has a new feature, that backup is stored to nfs or glusterfs and so on. not only swift. we can backup it to store local_dir,that local_dir mount nfs or glusterfs. it is safe to protect the data .

Implementation thoughts:

1) backup_nova
    backup_nova---->create_snapshot---->save_image_to_conf.contailer--->option(ssh remote image to remote_dir)----->delete_instance_snapshot

methon & function
save_image_des() download image to dest

2) backup_cinder
 backup_cinder--->create_cinder_snap--->create_new_volume--->upload_volume_glance--->save_image_to_conf.contailer--->option(ssh remote image to remote_dir)--->>delete_instance_snapshot

Blueprint information

Status:
Not started
Approver:
None
Priority:
High
Drafter:
yapeng Yang
Direction:
Approved
Assignee:
yapeng Yang
Definition:
New
Series goal:
Accepted for newton
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1576008,n,z

Addressed by: https://review.openstack.org/310655
    Backup nova to local

Gerrit topic: https://review.openstack.org/#q,topic:bug/1580415,n,z

Addressed by: https://review.openstack.org/315085
    backup cinder_by_glance to local

Addressed by: https://review.openstack.org/315547
    Backup nova to local

Gerrit topic: https://review.openstack.org/#q,topic:bp/backup-nova-cinder-to-non-swift,n,z

Addressed by: https://review.openstack.org/379281
    Backup nova/cinder to local

Addressed by: https://review.openstack.org/411895
    Backup/restore cinder to ssh This patch implements ability to backup/restore to remote ssh host

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.