Support backup of in-use volumes

Registered by Edward Hope-Morley

Cinder currently supports backing up a volume only if the volume is 'available' i.e. not attached or busy. This blueprint proposes to add support for taking a backup of a volume that is attached to an instance (in-use) in a similar way to creating a snapshot of a live volume with --force.

This would involve silently taking a snaphot of the live volume, and backing up from that snapshot thus hopefully eliminating data corruption issues from data changing during the backup process.

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Undefined
Drafter:
Edward Hope-Morley
Direction:
Needs approval
Assignee:
Edward Hope-Morley
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Mike Perez

Related branches

Sprints

Whiteboard

2015-05-07 <thingee>: This needs a spec.

Making the snapshot explict seems like a better plan... the more hidden resources there are the more pain there is to manage them --DuncanT

hopem: so, this need some thought to consider all three current backup implementations (and possible future ones) but the ceph backup driver currently backs up from snapshot anyway so would not actually require any change or new/additional snapshot. For Swift and TSM I was thinking we could delete the temp snapshot once the backup is complete since it has no further use.

Gerrit topic: https://review.openstack.org/#q,topic:bp/cinder-live-backup,n,z

Addressed by: https://review.openstack.org/189152
    Backups: add a force flag

(?)

Work Items