cleanup: Archive old complex scripts and documentation
- Move all old complex backup scripts to old_scripts/ - Archive previous documentation versions - Clean up temporary files and debian packages - Update README to focus on new simple system - Keep only the enhanced simple backup system in main directory Main directory now contains only: - simple_backup_gui.py (GUI interface) - enhanced_simple_backup.sh (CLI interface) - list_drives.sh (helper) - simple_backup.sh (basic CLI) - SIMPLE_BACKUP_README.md (detailed docs) - README.md (project overview)
This commit is contained in:
49
old_scripts/README_BACKUP.md
Normal file
49
old_scripts/README_BACKUP.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# LVM Block-Level Backup Tool
|
||||
|
||||
## What This Does
|
||||
|
||||
This tool performs a **proper** LVM snapshot backup by:
|
||||
|
||||
1. ✅ Creating consistent LVM snapshots of your internal drive
|
||||
2. ✅ Cloning entire volumes **block-for-block** to external drive
|
||||
3. ✅ Creating an exact, bootable copy of your system
|
||||
4. ✅ Using full drive capacity efficiently
|
||||
|
||||
## Why This Is Better
|
||||
|
||||
- **Fast**: Block-level copying is much faster than file copying
|
||||
- **Complete**: Exact bit-for-bit copy including all metadata
|
||||
- **Bootable**: External drive can boot your system directly
|
||||
- **Space Efficient**: Uses full drive capacity, no filesystem overhead
|
||||
- **Consistent**: Snapshots ensure data consistency during backup
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# Simple one-command backup
|
||||
sudo ./lvm_block_backup.sh
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Both drives must have LVM setup
|
||||
- External drive volume group: `migration-vg`
|
||||
- Internal drive volume group: `internal-vg`
|
||||
- At least 6GB free space for snapshots
|
||||
|
||||
## What Gets Backed Up
|
||||
|
||||
- **Root volume**: Complete system, applications, configurations
|
||||
- **Home volume**: All user data (including encrypted LUKS)
|
||||
- **Boot volume**: Kernels, bootloader, boot configuration
|
||||
|
||||
## Result
|
||||
|
||||
After backup, your external drive contains an exact copy that can:
|
||||
- Boot independently from BIOS/UEFI menu
|
||||
- Be mounted to access files
|
||||
- Serve as complete system recovery
|
||||
|
||||
---
|
||||
|
||||
**Note**: The `old_scripts/` directory contains 40+ previous backup attempts that didn't work properly. This single script replaces all of them.
|
||||
Reference in New Issue
Block a user