diff --git a/.gitignore b/.gitignore index fe32738..2dc85e1 100755 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ logs/ /dbbackup /dbbackup_* !dbbackup.png -bin/ # Ignore development artifacts *.swp diff --git a/bin/README.md b/bin/README.md new file mode 100644 index 0000000..542eb4a --- /dev/null +++ b/bin/README.md @@ -0,0 +1,87 @@ +# DB Backup Tool - Pre-compiled Binaries + +This directory contains pre-compiled binaries for the DB Backup Tool across multiple platforms and architectures. + +## Build Information +- **Version**: 3.40.0 +- **Build Time**: 2026-01-06_14:29:43_UTC +- **Git Commit**: 52d4755 + +## Recent Updates (v1.1.0) +- ✅ Fixed TUI progress display with line-by-line output +- ✅ Added interactive configuration settings menu +- ✅ Improved menu navigation and responsiveness +- ✅ Enhanced completion status handling +- ✅ Better CPU detection and optimization +- ✅ Silent mode support for TUI operations + +## Available Binaries + +### Linux +- `dbbackup_linux_amd64` - Linux 64-bit (Intel/AMD) +- `dbbackup_linux_arm64` - Linux 64-bit (ARM) +- `dbbackup_linux_arm_armv7` - Linux 32-bit (ARMv7) + +### macOS +- `dbbackup_darwin_amd64` - macOS 64-bit (Intel) +- `dbbackup_darwin_arm64` - macOS 64-bit (Apple Silicon) + +### Windows +- `dbbackup_windows_amd64.exe` - Windows 64-bit (Intel/AMD) +- `dbbackup_windows_arm64.exe` - Windows 64-bit (ARM) + +### BSD Systems +- `dbbackup_freebsd_amd64` - FreeBSD 64-bit +- `dbbackup_openbsd_amd64` - OpenBSD 64-bit +- `dbbackup_netbsd_amd64` - NetBSD 64-bit + +## Usage + +1. Download the appropriate binary for your platform +2. Make it executable (Unix-like systems): `chmod +x dbbackup_*` +3. Run: `./dbbackup_* --help` + +## Interactive Mode + +Launch the interactive TUI menu for easy configuration and operation: + +```bash +# Interactive mode with TUI menu +./dbbackup_linux_amd64 + +# Features: +# - Interactive configuration settings +# - Real-time progress display +# - Operation history and status +# - CPU detection and optimization +``` + +## Command Line Mode + +Direct command line usage with line-by-line progress: + +```bash +# Show CPU information and optimization settings +./dbbackup_linux_amd64 cpu + +# Auto-optimize for your hardware +./dbbackup_linux_amd64 backup cluster --auto-detect-cores + +# Manual CPU configuration +./dbbackup_linux_amd64 backup single mydb --jobs 8 --dump-jobs 4 + +# Line-by-line progress output +./dbbackup_linux_amd64 backup cluster --progress-type line +``` + +## CPU Detection + +All binaries include advanced CPU detection capabilities: +- Automatic core detection for optimal parallelism +- Support for different workload types (CPU-intensive, I/O-intensive, balanced) +- Platform-specific optimizations for Linux, macOS, and Windows +- Interactive CPU configuration in TUI mode + +## Support + +For issues or questions, please refer to the main project documentation. diff --git a/bin/dbbackup_darwin_amd64 b/bin/dbbackup_darwin_amd64 new file mode 100755 index 0000000..b04a5fa Binary files /dev/null and b/bin/dbbackup_darwin_amd64 differ diff --git a/bin/dbbackup_darwin_arm64 b/bin/dbbackup_darwin_arm64 new file mode 100755 index 0000000..ec0cc2e Binary files /dev/null and b/bin/dbbackup_darwin_arm64 differ diff --git a/bin/dbbackup_freebsd_amd64 b/bin/dbbackup_freebsd_amd64 new file mode 100755 index 0000000..553bbca Binary files /dev/null and b/bin/dbbackup_freebsd_amd64 differ diff --git a/bin/dbbackup_linux_amd64 b/bin/dbbackup_linux_amd64 new file mode 100755 index 0000000..b099532 Binary files /dev/null and b/bin/dbbackup_linux_amd64 differ diff --git a/bin/dbbackup_linux_arm64 b/bin/dbbackup_linux_arm64 new file mode 100755 index 0000000..50381f5 Binary files /dev/null and b/bin/dbbackup_linux_arm64 differ diff --git a/bin/dbbackup_linux_arm_armv7 b/bin/dbbackup_linux_arm_armv7 new file mode 100755 index 0000000..02d6a11 Binary files /dev/null and b/bin/dbbackup_linux_arm_armv7 differ diff --git a/bin/dbbackup_netbsd_amd64 b/bin/dbbackup_netbsd_amd64 new file mode 100755 index 0000000..099a8eb Binary files /dev/null and b/bin/dbbackup_netbsd_amd64 differ diff --git a/bin/dbbackup_openbsd_amd64 b/bin/dbbackup_openbsd_amd64 new file mode 100755 index 0000000..cf03b8f Binary files /dev/null and b/bin/dbbackup_openbsd_amd64 differ diff --git a/bin/dbbackup_windows_amd64.exe b/bin/dbbackup_windows_amd64.exe new file mode 100755 index 0000000..8a44e93 Binary files /dev/null and b/bin/dbbackup_windows_amd64.exe differ diff --git a/bin/dbbackup_windows_arm64.exe b/bin/dbbackup_windows_arm64.exe new file mode 100755 index 0000000..e4ae985 Binary files /dev/null and b/bin/dbbackup_windows_arm64.exe differ