-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed as not planned
Labels
Description
Description
Create, manage, and restore system snapshots before major installations.
Requirements
- Create snapshots before installations
- Store package states, configurations
- List available snapshots
- Restore to specific snapshot
- Auto-cleanup old snapshots
- Snapshot metadata (date, packages, reason)
Acceptance Criteria
- Creates snapshot before installations
- Lists all available snapshots
- Restores system to snapshot state
- Configurable snapshot retention (default: 10)
- Snapshot includes package list + configs
- Auto-cleanup based on age/count
- Unit tests included (>80% coverage)
- Documentation with restore examples
Example Usage
$ cortex snapshot create "before cuda install"
✓ Snapshot created: snap_2025_11_10_001
$ cortex snapshot list
snap_2025_11_10_001 Before cuda install (2 hours ago)
snap_2025_11_09_045 Before docker update (1 day ago)
$ cortex snapshot restore snap_2025_11_10_001
⚠️ This will revert all changes since snapshot
Continue? [y/N]: y
✓ System restored to snapshotSkills: Python, system administration, file management
Bounty: $25 upon merge
Priority: Medium