Skip to main content

Module rollback

Module rollback 

Source
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
BackupManager
Manages backup lifecycle including rotation and validation

Constants§

DEFAULT_MAX_BACKUPS
Default number of backups to keep