Docs: update repo URLs and progress example
This commit is contained in:
@ -34,7 +34,7 @@ chmod +x ./bin/dbbackup_darwin_arm64
|
|||||||
|
|
||||||
### Option 2: Build from Source
|
### Option 2: Build from Source
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/your-repo/dbbackup.git
|
git clone https://git.uuxo.net/renz/dbbackup.git
|
||||||
cd dbbackup
|
cd dbbackup
|
||||||
go build -o dbbackup .
|
go build -o dbbackup .
|
||||||
```
|
```
|
||||||
|
|||||||
28
README.md
28
README.md
@ -25,14 +25,15 @@ A comprehensive, high-performance database backup and restore solution with **mu
|
|||||||
### 💡 **Smart Progress Features**
|
### 💡 **Smart Progress Features**
|
||||||
```bash
|
```bash
|
||||||
# Live backup progress example
|
# Live backup progress example
|
||||||
🔄 PostgreSQL Backup [78%] - Compressing archive...
|
🔄 Starting backup: postgres
|
||||||
[███████████████▒▒▒▒▒]
|
[10%] Backup directory prepared
|
||||||
⏱️ Elapsed: 2m 45.3s | Files: 24/30 | Data: 1.8GB/2.3GB
|
[20%] Generated backup filename
|
||||||
📝 Current: Creating metadata file
|
[30%] Backup command prepared
|
||||||
|
[40%] Starting database backup...
|
||||||
✅ Backup completed in 3m 12.7s
|
[80%] Database backup completed
|
||||||
📁 Output: /backups/db_postgres_20241203_143527.dump (1.1GB)
|
[90%] Backup verified: 822 B
|
||||||
🔍 Verification: PASSED
|
[100%] Backup operation completed successfully
|
||||||
|
✅ ✅ Single database backup completed: db_postgres_20251024_185103.dump
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🚀 Key Features
|
## 🚀 Key Features
|
||||||
@ -63,28 +64,29 @@ Download the appropriate binary for your platform from the `bin/` directory:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Linux (Intel/AMD)
|
# Linux (Intel/AMD)
|
||||||
wget https://github.com/your-repo/dbbackup/releases/latest/download/dbbackup_linux_amd64
|
curl -L https://git.uuxo.net/renz/dbbackup/raw/branch/master/bin/dbbackup_linux_amd64 -o dbbackup_linux_amd64
|
||||||
chmod +x dbbackup_linux_amd64
|
chmod +x dbbackup_linux_amd64
|
||||||
sudo mv dbbackup_linux_amd64 /usr/local/bin/dbbackup
|
sudo mv dbbackup_linux_amd64 /usr/local/bin/dbbackup
|
||||||
|
|
||||||
# macOS (Intel)
|
# macOS (Intel)
|
||||||
wget https://github.com/your-repo/dbbackup/releases/latest/download/dbbackup_darwin_amd64
|
curl -L https://git.uuxo.net/renz/dbbackup/raw/branch/master/bin/dbbackup_darwin_amd64 -o dbbackup_darwin_amd64
|
||||||
chmod +x dbbackup_darwin_amd64
|
chmod +x dbbackup_darwin_amd64
|
||||||
sudo mv dbbackup_darwin_amd64 /usr/local/bin/dbbackup
|
sudo mv dbbackup_darwin_amd64 /usr/local/bin/dbbackup
|
||||||
|
|
||||||
# macOS (Apple Silicon)
|
# macOS (Apple Silicon)
|
||||||
wget https://github.com/your-repo/dbbackup/releases/latest/download/dbbackup_darwin_arm64
|
curl -L https://git.uuxo.net/renz/dbbackup/raw/branch/master/bin/dbbackup_darwin_arm64 -o dbbackup_darwin_arm64
|
||||||
chmod +x dbbackup_darwin_arm64
|
chmod +x dbbackup_darwin_arm64
|
||||||
sudo mv dbbackup_darwin_arm64 /usr/local/bin/dbbackup
|
sudo mv dbbackup_darwin_arm64 /usr/local/bin/dbbackup
|
||||||
|
|
||||||
# Windows (download and rename)
|
# Windows (download and rename)
|
||||||
# Download dbbackup_windows_amd64.exe and use directly
|
curl -L https://git.uuxo.net/renz/dbbackup/raw/branch/master/bin/dbbackup_windows_amd64.exe -o dbbackup_windows_amd64.exe
|
||||||
|
# Use directly or move into PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build from Source
|
### Build from Source
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/your-repo/dbbackup.git
|
git clone https://git.uuxo.net/renz/dbbackup.git
|
||||||
cd dbbackup
|
cd dbbackup
|
||||||
go build -o dbbackup .
|
go build -o dbbackup .
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user