Parant backup can be deleted in a backup chain

Registered by likai on 2020-12-24

In a incremental backup chain, only the last one backup can be deleted, and other be depended ones cannot be deleted. But we should supoort this.

For example, backup A(full)->B(incre)->C(incre),when delete B, a few key points:
1) conbine the data in B to C
2) change parent_id of C to A
3) update the num_dependent_backups of A

B was deleted successfully,and this time becomes A(full)-->C(incre).

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
likai
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.