- 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)
1.5 KiB
1.5 KiB
LVM Block-Level Backup Tool
What This Does
This tool performs a proper LVM snapshot backup by:
- ✅ Creating consistent LVM snapshots of your internal drive
- ✅ Cloning entire volumes block-for-block to external drive
- ✅ Creating an exact, bootable copy of your system
- ✅ 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
# 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.