# 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.