Skip to content

Commit 159bfd6

Browse files
stuggiclaude
andcommitted
Clarify PVCs use selective backup in Goals section
Updated Goals section to explicitly state that PVCs are an exception to the "Full Backup, Selective Restore" pattern. Clarification: - CRs, Secrets, ConfigMaps: Full Backup, Selective Restore - PVCs (exception): Selective Backup, Selective Restore - Reason: Storage/performance concerns (large data volumes, snapshot costs) - Only PVCs with openstack.org/backup="true" are backed up - Only PVCs with openstack.org/backup-restore="true" are restored This makes the Goals section accurate and prevents confusion about the backup strategy for different resource types. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 8f24be1 commit 159bfd6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/dev/backup-restore-webhook-design.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ This document describes a webhook-based approach to backup and restore for OpenS
66

77
## Goals
88

9-
1. **Full Backup, Selective Restore**:
9+
1. **Full Backup, Selective Restore** (for CRs, Secrets, ConfigMaps):
1010
- Backup: All user resources (Secrets, ConfigMaps, CRs) - complete snapshot
1111
- Restore: Only webhook-labeled resources - automatic filtering
12+
- **Exception - PVCs**: Selective backup AND selective restore (only labeled PVCs backed up/restored due to storage/performance concerns)
1213
2. **Dynamic Resource Discovery**: No hardcoded lists - CRD annotations declare what needs restore
1314
3. **Declarative Restore Order**: Restore order defined in CRD annotations, not in code
1415
4. **Operator-Managed Exclusion**: Operators recreate their own resources (not restored from backup)

0 commit comments

Comments
 (0)