Support backup and restore on xiv/ds8k driver
Currently xiv/ds8k driver does not support backup and restore functionality. In order to support it we plan to follow implementations in other drivers.
The implementation for backup_volume:
1. create a snapshot (to be deleted before function ends)
2. attach to snapshot
3. run backup_
4. detach from snapshot
5. delete snapshot
Notes:
a. need to take care of cleanups in case of errors: detach and snapshot deletion.
b. the snapshot will take care of any changes in the volume while backup is running
The implementation for restore_backup
1. attach to volume
2. run backup_
3. detach volume
Blueprint information
- Status:
- Complete
- Approver:
- Mike Perez
- Priority:
- Low
- Drafter:
- Alon Marx
- Direction:
- Approved
- Assignee:
- Alon Marx
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Mike Perez
- 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.
Gerrit topic: https:/
Addressed by: https:/
Add support for backups to xiv_ds8k driver