Initial commit: Complete backup system with portable tools

- GUI and CLI backup/restore functionality
- Auto-detection of internal system drive
- Smart drive classification (internal vs external)
- Reboot integration for clean backups/restores
- Portable tools that survive cloning operations
- Tool preservation system for external M.2 SSD
- Complete disaster recovery workflow
- Safety features and multiple confirmations
- Desktop integration and launcher scripts
- Comprehensive documentation
This commit is contained in:
root
2025-09-13 22:14:36 +02:00
commit 0367c3f7e6
9 changed files with 2202 additions and 0 deletions

46
.github/copilot-instructions.md vendored Normal file
View File

@@ -0,0 +1,46 @@
<!-- Use this file to provide workspace-specific custom instructions to Copilot. For more details, visit https://code.visualstudio.com/docs/copilot/copilot-customization#_use-a-githubcopilotinstructionsmd-file -->
- [x] Verify that the copilot-instructions.md file in the .github directory is created.
- [x] Clarify Project Requirements
Project: Linux backup system with GUI button for rebooting and cloning internal HDD to external M.2 SSD
Language: Python with tkinter for GUI
Requirements: Backup script, GUI interface, systemd service for reboot integration
- [x] Scaffold the Project
Project structure created with:
- backup_manager.py: GUI application with tkinter
- backup_script.sh: Command-line backup script
- install.sh: Installation and setup script
- README.md: Comprehensive documentation
- [x] Customize the Project
Customized with backup-specific features:
- Drive detection and validation
- GUI with progress monitoring
- Reboot integration capabilities
- Safety checks and confirmations
- Desktop integration support
- [x] Install Required Extensions
No VS Code extensions required for this Python/Bash project
- [x] Compile the Project
Dependencies installed and scripts tested:
- python3-tk for GUI interface
- pv for progress monitoring
- All scripts executable and functional
- [x] Create and Run Task
No build task needed - Python/Bash scripts are ready to run
- [x] Launch the Project
Project successfully launches:
- GUI: python3 backup_manager.py
- CLI: ./backup_script.sh --help
- Installation: ./install.sh
- [x] Ensure Documentation is Complete
Documentation completed:
- README.md with comprehensive setup and usage instructions
- copilot-instructions.md properly configured
- All safety warnings and technical details included