Borg Web UI Documentation
Welcome to the official documentation for Borg Web UI - a modern, user-friendly web interface for Borg Backup management.
Quick Links
- π GitHub Repository
- π³ Docker Hub
- π¦ Latest Release
Getting Started
What is Borg Web UI?
Borg Web UI makes Borg Backup easy to use. Instead of memorizing complex terminal commands, you get a beautiful web interface that handles everything for you.
Why Was This Built?
I love Borg Backup, but the terminal interface is complicated. Every backup task required:
- Remembering exact command syntax
- Parsing verbose terminal output
- Writing and debugging cron jobs
- Managing SSH keys and permissions manually
It was exhausting. So I built this web UI to make Borg accessible to everyone - from beginners to power users.
Quick Install
# Create docker-compose.yml
cat > docker-compose.yml << 'EOF'
version: '3.8'
services:
app:
image: ainullcode/borg-ui:latest
container_name: borg-web-ui
restart: unless-stopped
ports:
- "8081:8081"
volumes:
- borg_data:/data
- ${LOCAL_STORAGE_PATH:-/}:/local:rw
volumes:
borg_data:
EOF
# Start the container
docker compose up -d
Access at http://localhost:8081
(default credentials: admin
/ admin123
)
π New to Borg Web UI?
β Start Here: Complete Usage Guide
Learn how to create your first backup in minutes:
- Local Backups (USB drives, NAS, etc.) - No SSH needed!
- SSH/Remote Backups (Off-site protection) - With easy SSH key setup
Both methods use the same simple workflow. The guide covers everything step-by-step.
Documentation
Core Guides
- π Usage Guide - Step-by-step guides for creating local and SSH backups
- Installation Guide - Multiple deployment methods (Portainer, Docker Run, Docker Compose)
- Configuration Guide - Environment variables and settings
- Troubleshooting - Common issues and solutions
Technical Documentation
- System Specification - Complete system architecture and API reference
- Database Persistence - How data is stored and managed
- Future Enhancements - Planned features and roadmap
API Reference
Once installed, access interactive API documentation:
- Swagger UI:
http://localhost:8081/api/docs
- ReDoc:
http://localhost:8081/api/redoc
- OpenAPI JSON:
http://localhost:8081/openapi.json
Key Features
Core Functionality
- π― Intuitive Dashboard - Real-time backup status and system metrics
- π Backup Management - Create, schedule, and monitor backups with ease
- π Archive Browser - Browse and restore files from any backup
- ποΈ Repository Management - Support for local, SSH, and SFTP repositories
- π SSH Key Management - Generate, import, and deploy SSH keys securely
- β° Scheduling - Visual cron job builder with execution history
- π Health Monitoring - System health checks and performance analytics
- π Log Management - Real-time log streaming with search and filtering
Technical Highlights
- β‘ Zero Configuration - No manual setup required
- π Auto-Secured - SECRET_KEY automatically generated on first run
- π± Responsive Design - Works on desktop, tablet, and mobile
- π Multi-platform - Supports amd64, arm64, and armv7 architectures
- π Production Ready - Battle-tested on Raspberry Pi, NAS, and cloud servers
Project Goals
π― Simplicity First - If you can click it, you shouldnβt have to type it
π Zero Configuration - No manual setup, no environment files to edit, just docker compose up
π Secure by Default - Auto-generated secrets, JWT authentication, permission controls
π± Works Everywhere - Desktop, tablet, mobile, Raspberry Pi, NAS, cloud servers
π Real-time Feedback - Live backup progress, instant logs, responsive dashboards
πΎ Data Safety - Never lose your backups or configuration, everything persists
Common Use Cases
Home Server / NAS Backups
Perfect for backing up your home server, Synology NAS, or personal data to:
- External USB drives
- Network storage (NFS/CIFS mounts)
- Remote servers via SSH
- Cloud storage (S3, Azure, Google Cloud)
Raspberry Pi Backups
Lightweight enough to run on Raspberry Pi while backing up to:
- USB-attached storage
- Another Raspberry Pi on your network
- Cloud backup services
- NAS devices
Server Infrastructure
Manage backups for multiple servers from a central web interface:
- Schedule automated backups
- Monitor backup health across infrastructure
- Restore files quickly when needed
- Maintain backup retention policies
Support
Getting Help
- π Documentation: Youβre reading it!
- π Bug Reports: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π§ Contact: Open an issue for support
Resources
- Borg Backup Documentation: borgbackup.readthedocs.io
- Docker Documentation: docs.docker.com
- FastAPI Documentation: fastapi.tiangolo.com
License
Proprietary License - Copyright Β© 2025 Karan Hudia (ainullcode)
β You CAN:
- Use this software for personal or commercial purposes
- Submit pull requests with improvements
- Report issues and bugs
- Pull and use Docker images from Docker Hub
β You CANNOT:
- Fork or copy this repository
- Create derivative works
- Redistribute the source code
- Use the code in other projects
- Remove copyright notices
See the LICENSE file for complete terms.
Acknowledgments
Built with:
- Borg Backup - Deduplication backup program
- FastAPI - Backend framework
- React - Frontend framework
- Material-UI - UI components
Made with β€οΈ by Karan Hudia (ainullcode)
This project solves my personal backup management headaches, and I hope it solves yours too.