-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Enhance File System Backup documentation with details on volume snapshot behavior and backup method decision flow #9091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9091 +/- ##
=======================================
Coverage 60.07% 60.07%
=======================================
Files 378 378
Lines 42905 42905
=======================================
Hits 25776 25776
Misses 15583 15583
Partials 1546 1546 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
sseago
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some clarifications needed, as noted in comments, around VSL vs. CSI. As-written, some of the new text implies that VSL is required for any snapshotting, but it's only required for non-CSI snapshots.
| - Hostpath volumes | ||
| - **Volumes explicitly excluded using annotations** (see below) | ||
|
|
||
| **Important:** When you exclude a volume from FSB using annotations, Velero will attempt to back it up using volume snapshots instead (if properly configured with VolumeSnapshotLocation). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"(if CSI snapshots are enabled and the volume is a CSI volume or if properly configured with a compatible VolumeSnapshotLocation)"
| **Note:** Volumes not annotated for FSB will be considered for volume snapshots if: | ||
| - `--snapshot-volumes` is not set to `false` | ||
| - A VolumeSnapshotLocation is configured | ||
| - The volume type supports snapshots |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the volume supports snapshots (either CSI or native)
- either the volume is a CSI volume and CSI snapshots are enabled or there is a compatible VolumeSnapshotLocation configured
| - No → Attempt volume snapshot (if configured) | ||
|
|
||
| 3. **For volume snapshots to succeed:** | ||
| - VolumeSnapshotLocation must be configured |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSI snapshots must be enabled for CSI volume or compatible VolumeSnapshotLocation must be configured.
…hot behavior and backup method decision flow Fixes: Velero AWS snapshots not occurring with the AWS plugin vmware-tanzu#9090 Signed-off-by: Tiger Kaovilai <[email protected]>
…enhance decision flow for volume snapshots Signed-off-by: Tiger Kaovilai <[email protected]>
233c0a2 to
b12f66c
Compare
…hot behavior and backup method decision flow (vmware-tanzu#9091) * Enhance File System Backup documentation with details on volume snapshot behavior and backup method decision flow Fixes: Velero AWS snapshots not occurring with the AWS plugin vmware-tanzu#9090 Signed-off-by: Tiger Kaovilai <[email protected]> * Clarify conditions for excluding volumes from File System Backup and enhance decision flow for volume snapshots Signed-off-by: Tiger Kaovilai <[email protected]> --------- Signed-off-by: Tiger Kaovilai <[email protected]>
Fixes: Velero AWS snapshots not occurring with the AWS plugin #9090
Signed-off-by: Tiger Kaovilai [email protected]
Thank you for contributing to Velero!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #9090
Please indicate you've done the following:
make new-changelog) or comment/kind changelog-not-requiredon this PR.site/content/docs/main.