-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Description
Feature Description
Add a backup verification mechanism that validates the integrity and recoverability of etcd backups before they're needed for disaster recovery.
Motivation
- Backups are critical for etcd cluster recovery
- Discovering backup corruption during an actual disaster is catastrophic
- Current
etcdctl snapshot savedoesn't verify backup recoverability - Organizations need confidence their backups are valid before disaster strikes
Proposed Solution
Extend etcdctl with backup verification commands:
# Verify backup integrity
etcdctl snapshot verify backup.db
# Test backup restore (dry-run)
etcdctl snapshot restore --dry-run backup.db
# Full validation with consistency checks
etcdctl snapshot validate backup.db --fullThe verification should:
- Check file integrity (checksums, corruption detection)
- Validate raft metadata and cluster state consistency
- Verify all keys are readable
- Test restore process in isolated environment
- Report any inconsistencies or corruption
Benefits
- Catch backup corruption early, not during disaster recovery
- Automated backup validation in CI/CD pipelines
- Confidence in disaster recovery procedures
- Compliance with backup testing requirements
Use Cases
- Automated daily backup validation
- Pre-migration backup verification
- Compliance audits requiring tested backups
- Disaster recovery drills
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels