add backup driver in nas storage like gluster or local disk etc..
add backup driver plugin in nas storage like gluster or local disk
- cinder/
<This is backup step>.
1. Mount volume to backup_path
2. Check File system Type
3. Save file list
4. Tar Archive
<This is restore step.>
1. Format volume to restore
2. Mount volume to backup_path
3. Tar extract
If using this logic, Incremental backup is also possible.
Blueprint information
- Status:
- Complete
- Approver:
- John Griffith
- Priority:
- Undefined
- Drafter:
- inhye.park
- Direction:
- Needs approval
- Assignee:
- inhye.park
- Definition:
- Obsolete
- Series goal:
- Accepted for future
- Implementation:
- Needs Code Review
- Milestone target:
- next
- Started by
- inhye.park
- Completed by
- Sean McGinnis
Related branches
Related bugs
Sprints
Whiteboard
(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.
Good thing for J release
Gerrit topic: https:/
Addressed by: https:/
Add Nas backup driver in nas storage like gluster or local disk.
------------
I'll take a look at the review, but to echo the comments I made ont he summit session whiteboard (not sure of the best place to make them, so I'll make them everywhere:
Backup does not and should not look inside the volume. Doing so means:
a) You can only backup a limited range of FS types
b) You risk big security holes with crafted malformed filesystems
c) The block device you restore will be different to the one you backed up since creation order etc affects the on-disk layout
Just copy the raw blocks, and compress/dedupe as makes sense. Filesystem level stuff is a manilla thing, not a cinder thing.
--
Duncan Thomas
------------
I refactored the driver to use the qemu-img convert tool to dump out the image. This should address your concerns Duncan. Please re-review to ensure things are fixed.
Thanks,
Kevin
kfox1111 - this was completed as part of the posix driver work that got merged.