Overview
Borg UI provides powerful backup management with live progress tracking, showing real-time metrics including current file being processed, backup speed, compression ratios, and estimated time remaining.Live Progress Tracking
Watch your backups execute with detailed real-time metrics:Progress tracking uses Borg’s
--progress flag to parse JSON output in real-time, providing sub-second updates during backup operations.Starting a Backup
1
Manual Backup
Start a one-time backup from the repository page:Request:Response:
2
Monitor Progress
Track backup progress in real-time:Response:
3
View Completion
Once complete, view backup statistics and logs:
Progress Metrics Explained
Original Size
Original Size
Total size of data before compression
- Raw file sizes from filesystem
- Before any compression or deduplication
- Indicates total data processed
Compressed Size
Compressed Size
Size after compression algorithmCompression Ratio:
- After lz4/zstd/zlib/lzma compression
- Before deduplication
- Shows compression effectiveness
Deduplicated Size
Deduplicated Size
Actual storage space usedSpace Savings:
- After compression and deduplication
- Eliminates duplicate chunks across archives
- Final storage footprint
Backup Speed
Backup Speed
Current processing rate
- Measured in MB/s
- Real-time throughput
- Varies based on file types and compression
Estimated Time Remaining
Estimated Time Remaining
Predicted completion time
- Based on current speed
- Updates dynamically
- Measured in seconds
Backup Jobs API
Get All Backup Jobs
limit: Maximum number of jobs to return (default: 200)scheduled_only: Filter to scheduled jobs onlymanual_only: Filter to manual backups only
Canceling Backups
Stop a running backup gracefully:Backup Logs
Stream Logs in Real-Time
Download Complete Logs
Logs are only saved for failed or cancelled backups to optimize storage. Successful backups don’t generate log files.
Pre/Post Backup Hooks
Run custom scripts before and after backups:Stop Services
Stop Services
Ensure consistent backups
Database Dumps
Database Dumps
Backup databases before filesystem backup
Snapshot Volumes
Snapshot Volumes
Create LVM snapshots
Maintenance Operations
Backups can trigger automatic maintenance:Backup Performance Tips
- Compression: Use lz4 for speed, zstd for balance, lzma for maximum compression
- Exclusions: Skip cache files, logs, and temporary data
- Scheduling: Run during off-peak hours for large backups
- Hooks: Keep pre-backup hooks fast to minimize downtime
- Deduplication: Borg’s chunking works best with unchanged files
- Network: Use compression for remote backups over slow connections
Remote Source Backups
Pull data from remote servers for backup:Error Handling
Borg UI captures and categorizes backup errors:- Lock timeout: Another backup is running
- Permission denied: Check file permissions
- Connection refused: Verify SSH connectivity
- Passphrase incorrect: Verify repository passphrase
- Disk full: Check available storage space