Expand description
Backup and rollback functionality for safe updates
This module provides robust backup and rollback capabilities to ensure failed updates can be safely reverted. It includes:
- Automatic backup rotation (keeps last N backups)
- Backup integrity validation
- Versioned rollback support
- Graceful error handling for missing/corrupt backups
Structs§
- Backup
- Represents a single backup with metadata
- Backup
Manager - Manages backup lifecycle including rotation and validation
Constants§
- DEFAULT_
MAX_ BACKUPS - Default number of backups to keep