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:
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=LVM Backup Manager
|
||||
Comment=Professional LVM volume backup with GUI
|
||||
Exec=pkexec lvm-backup-manager
|
||||
Icon=lvm-backup-manager
|
||||
Categories=System;Administration;
|
||||
Keywords=backup;lvm;snapshot;clone;system;recovery;
|
||||
StartupNotify=true
|
||||
StartupWMClass=LVM Backup Manager
|
||||
@@ -0,0 +1,58 @@
|
||||
# LVM Backup Manager
|
||||
|
||||
## Overview
|
||||
|
||||
LVM Backup Manager is a professional graphical interface for creating block-level backups of LVM (Logical Volume Manager) volumes. It provides an intuitive way to clone entire volume groups while maintaining data consistency through LVM snapshots.
|
||||
|
||||
## Features
|
||||
|
||||
* **Intuitive GUI**: Easy-to-use interface with drive selection and progress monitoring
|
||||
* **Real-time Progress**: Live progress bars and speed indicators during backup
|
||||
* **Safety Features**: Confirmation dialogs and verification tools
|
||||
* **Professional Logging**: Detailed logs with timestamps for troubleshooting
|
||||
* **Snapshot-based**: Uses LVM snapshots for consistent, live backups
|
||||
* **Block-level Cloning**: Creates exact, bootable copies of your volumes
|
||||
|
||||
## System Requirements
|
||||
|
||||
* Linux system with LVM2 installed
|
||||
* Python 3.x with Tkinter support
|
||||
* Root/sudo privileges for LVM operations
|
||||
* External storage device with LVM volume group
|
||||
|
||||
## Usage
|
||||
|
||||
### GUI Application
|
||||
```bash
|
||||
sudo lvm-backup-manager
|
||||
```
|
||||
|
||||
### Command Line (legacy)
|
||||
```bash
|
||||
sudo lvm-block-backup
|
||||
```
|
||||
|
||||
## How It Works
|
||||
|
||||
1. **Detection**: Scans for available LVM volume groups
|
||||
2. **Selection**: Choose source and target volume groups
|
||||
3. **Calculation**: Estimates backup time and data size
|
||||
4. **Snapshots**: Creates consistent snapshots of source volumes
|
||||
5. **Cloning**: Performs block-level copy using dd command
|
||||
6. **Verification**: Checks filesystem integrity of backup
|
||||
7. **Cleanup**: Removes temporary snapshots
|
||||
|
||||
## Safety Notes
|
||||
|
||||
* **Always verify** your target drive selection
|
||||
* **Backup process will overwrite** all data on target volume group
|
||||
* **Test your backups** using the verification feature
|
||||
* **Keep multiple backup copies** for critical data
|
||||
|
||||
## Support
|
||||
|
||||
For issues or questions, check the log output in the GUI application or examine system logs.
|
||||
|
||||
## License
|
||||
|
||||
This software is provided as-is for backup and recovery purposes.
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="64" height="64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#2196F3;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#1976D2;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient id="diskGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#FFC107;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#FF9800;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- Background circle -->
|
||||
<circle cx="32" cy="32" r="30" fill="url(#bgGradient)" stroke="#1565C0" stroke-width="2"/>
|
||||
|
||||
<!-- Hard drive icon -->
|
||||
<rect x="12" y="20" width="20" height="14" rx="2" fill="url(#diskGradient)" stroke="#E65100" stroke-width="1"/>
|
||||
<rect x="14" y="22" width="16" height="2" fill="#FFF3E0" opacity="0.8"/>
|
||||
<rect x="14" y="25" width="16" height="2" fill="#FFF3E0" opacity="0.6"/>
|
||||
<rect x="14" y="28" width="16" height="2" fill="#FFF3E0" opacity="0.4"/>
|
||||
<circle cx="29" cy="30" r="1.5" fill="#E65100"/>
|
||||
|
||||
<!-- Arrow pointing right -->
|
||||
<path d="M 35 27 L 42 27 L 38 23 M 42 27 L 38 31" stroke="#4CAF50" stroke-width="2" fill="none" stroke-linecap="round"/>
|
||||
|
||||
<!-- Second hard drive -->
|
||||
<rect x="44" y="20" width="20" height="14" rx="2" fill="url(#diskGradient)" stroke="#E65100" stroke-width="1"/>
|
||||
<rect x="46" y="22" width="16" height="2" fill="#FFF3E0" opacity="0.8"/>
|
||||
<rect x="46" y="25" width="16" height="2" fill="#FFF3E0" opacity="0.6"/>
|
||||
<rect x="46" y="28" width="16" height="2" fill="#FFF3E0" opacity="0.4"/>
|
||||
<circle cx="61" cy="30" r="1.5" fill="#E65100"/>
|
||||
|
||||
<!-- Shield/protection symbol -->
|
||||
<path d="M 32 40 L 28 44 L 32 48 L 36 44 Z" fill="#4CAF50" stroke="#2E7D32" stroke-width="1"/>
|
||||
<path d="M 30 44 L 32 46 L 36 42" stroke="white" stroke-width="1.5" fill="none" stroke-linecap="round"/>
|
||||
|
||||
<!-- LVM text -->
|
||||
<text x="32" y="58" text-anchor="middle" font-family="Arial" font-size="8" font-weight="bold" fill="white">LVM</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
Reference in New Issue
Block a user