Share backup API enhancements for third party drivers
support for creating backups of Manila shares was added in https:/
This blueprint proposes to expand the share backup API slightly with three main changes focused on:
- base backup driver class `/manila/
- The manila data manager `manila/
- One:
The base backup driver class contains a boolean flag `self.use_
take authority for performing and handling backups, or if should be deferred to the driver itself. Currently the flag is not respected.
It is proposed to make the data manager respect this boolean flag throughout the share backup api functions it has.
- Two:
Internally, the data manager makes use of OpenStack contexts quite regularly, it is proposed to expose the context of a running
operation to the running backup driver by adding context as a default argument the base backup driver class can consume.
- Three
Currently, there are two functions `create_
of a backup or restore via the data manager. There is no function call available in the base backup driver class that maps to these
periodic calls. It is proposed to add two abstract functions `get_restore_
driver class to allow this operation to be backup driver controlled.
Blueprint information
- Status:
- Not started
- Approver:
- Goutham Pacha Ravi
- Priority:
- Undefined
- Drafter:
- Zachary Goggin
- Direction:
- Approved
- Assignee:
- Zachary Goggin
- Definition:
- New
- Series goal:
- Proposed for flamingo
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by