-
Notifications
You must be signed in to change notification settings - Fork 712
[FEATURE] Application consistent snapshot/backup, Volume Group #2128
Copy link
Copy link
Open
Labels
area/csiCSI related like control/node driver, sidecarsCSI related like control/node driver, sidecarsarea/kubernetesKubernetes related like K8s version compatibilityKubernetes related like K8s version compatibilityarea/volume-backup-restoreVolume backup restoreVolume backup restorecomponent/longhorn-managerLonghorn manager (control plane)Longhorn manager (control plane)highlightImportant feature/issue to highlightImportant feature/issue to highlightkind/featureFeature request, new featureFeature request, new featurepriority/0Must be implement or fixed in this release (managed by PO)Must be implement or fixed in this release (managed by PO)require/auto-e2e-testRequire adding/updating auto e2e test cases if they can be automatedRequire adding/updating auto e2e test cases if they can be automatedrequire/docRequire updating the longhorn.io documentationRequire updating the longhorn.io documentationrequire/important-noteUpgrade, Deprecation, Important notesUpgrade, Deprecation, Important notesrequire/lepRequire adding/updating enhancement proposalRequire adding/updating enhancement proposal
Milestone
Description
Metadata
Metadata
Assignees
Labels
area/csiCSI related like control/node driver, sidecarsCSI related like control/node driver, sidecarsarea/kubernetesKubernetes related like K8s version compatibilityKubernetes related like K8s version compatibilityarea/volume-backup-restoreVolume backup restoreVolume backup restorecomponent/longhorn-managerLonghorn manager (control plane)Longhorn manager (control plane)highlightImportant feature/issue to highlightImportant feature/issue to highlightkind/featureFeature request, new featureFeature request, new featurepriority/0Must be implement or fixed in this release (managed by PO)Must be implement or fixed in this release (managed by PO)require/auto-e2e-testRequire adding/updating auto e2e test cases if they can be automatedRequire adding/updating auto e2e test cases if they can be automatedrequire/docRequire updating the longhorn.io documentationRequire updating the longhorn.io documentationrequire/important-noteUpgrade, Deprecation, Important notesUpgrade, Deprecation, Important notesrequire/lepRequire adding/updating enhancement proposalRequire adding/updating enhancement proposal
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
New Issues
Is your feature request related to a problem? Please describe.
Currently, Longhorn can do crash-consistent snapshot/backup. But for the applications like databases, quiescing is needed to create an application-consistent snapshot, so the application will make sure all the data in the memory has been written to the disk before creating the snapshot.
Describe the solution you'd like
Provide a way for the users to quiesce the workload before taking the snapshot/backup.
Describe alternatives you've considered
Users can also script the backup using CSI snapshotter and run quiescing/unquescing before taking the snapshot. But it won't work with the recurring snapshot/backup which is scheduled by Longhorn.
Additional context
One application is normally composed of multiple workloads, so we need to consider
volume groupscenario as well.