Skip to content

Conversation

@kaovilai
Copy link
Collaborator

@kaovilai kaovilai commented Jul 16, 2025

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:

@kaovilai kaovilai added the kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes label Jul 16, 2025
@github-actions github-actions bot requested review from Lyndon-Li and ywk253100 July 16, 2025 19:35
@codecov
Copy link

codecov bot commented Jul 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.07%. Comparing base (29a8bc4) to head (b12f66c).
Report is 29 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

blackpiglet
blackpiglet previously approved these changes Jul 17, 2025
Copy link
Collaborator

@sseago sseago left a 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).
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

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.

kaovilai added 2 commits July 18, 2025 11:09
…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]>
@blackpiglet blackpiglet force-pushed the fsb-snapshot-clariffy branch from 233c0a2 to b12f66c Compare July 18, 2025 03:09
@kaovilai kaovilai enabled auto-merge (squash) July 18, 2025 15:34
@kaovilai kaovilai merged commit f985879 into vmware-tanzu:main Jul 25, 2025
7 checks passed
@MaloLelandais MaloLelandais mentioned this pull request Jul 28, 2025
3 tasks
MaloLelandais pushed a commit to MaloLelandais/velero that referenced this pull request Jul 28, 2025
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Velero AWS snapshots not occurring with the AWS plugin

4 participants