Installation Guide
Borg UI runs as a Docker container with support for multiple architectures (amd64, arm64, armv7). Choose your preferred installation method below.ainullcode/borg-ui:latestAvailable on Docker HubPrerequisites
- Docker installed on your system
- Basic understanding of Docker volumes and networking
- Access to directories you want to back up
Installation Methods
Docker Compose
Docker Run
Portainer
Unraid
Docker Compose (Recommended)
Docker Compose provides the best experience for managing Borg UI with easy configuration and updates.Option 1: Basic Setup (No Redis)
Good for occasional use with smaller repositories. Uses in-memory caching.Create docker-compose.yml
docker-compose.yml:Start the container
Access the web interface
- Username:
admin - Password:
admin123
Option 2: With Redis (Recommended for Production)
Redis provides 600x faster archive browsing for large repositories. Recommended if you browse archives regularly.Create docker-compose.yml with Redis
Deploy the stack
Option 3: External Redis
Use an existing Redis instance on your network or a separate machine.Docker Run
Quick single-command installation for simple setups.Basic Installation
/path/to/your/data with the directory you want to back up (e.g., /home/john, /mnt/photos).With Docker Socket (Optional)
Mount the Docker socket to enable Docker container management in pre/post backup scripts:Portainer
Portainer provides a visual interface for managing Docker containers.Navigate to Stacks
- Stacks → Add Stack
Create the stack
- Name:
borg-ui - Build method: Web editor
- Paste one of the Docker Compose configurations above
Customize configuration
- Replace
/path/to/your/datawith your backup directory - Set your timezone in
TZvariable - Set
PUIDandPGIDto match your user (runid -u && id -g)
Deploy the stack
Access Borg UI
Unraid
Unraid users have two installation options: Docker Compose Manager (recommended) or the traditional web UI method.Option 1: Docker Compose Manager (Recommended)
Install Compose Manager plugin
- Go to Apps tab
- Search for “Compose Manager”
- Install the plugin
Create a new stack
- Navigate to Docker → Compose
- Click Add New Stack
- Name:
borg-ui
Add the compose configuration
PUID=99andPGID=100are standard for Unraid/mnt/userprovides access to all user shares- Appdata is stored in
/mnt/user/appdata/borg-ui
Deploy the stack
http://tower-ip:8081Option 2: Unraid Web UI (Traditional)
Add container
Basic settings
Port mappings
Volume mappings
Environment variables
Apply and start
Advanced Configuration
Mount Multiple Directories
You can mount as many directories as needed:/local), set the LOCAL_MOUNT_POINTS environment variable:Environment Variables
Common environment variables:Privileged Mode (Optional)
Privileged mode is only required for remote-to-remote backups using SSHFS mounting.Timeouts for Large Repositories
For very large repositories, increase operation timeouts:Post-Installation
Access the web interface
http://localhost:8081 (or your server’s IP)Default credentials:- Username:
admin - Password:
admin123
Change default password
Create your first repository
Updating Borg UI
Docker Compose
Docker Run
Portainer
- Go to Stacks
- Select
borg-ui - Click Pull and redeploy
Unraid
- Go to Docker tab
- Find
borg-web-ui - Click Update icon
Troubleshooting
Container won't start
Container won't start
- Port conflict: Change
-p 8082:8081to use different port - Volume permissions: Ensure mounted directories exist and are readable
- Invalid environment variables: Check syntax in compose file
Permission errors when accessing files
Permission errors when accessing files
-
On your host, run:
-
Update environment:
-
Recreate container:
Can't access web interface
Can't access web interface
-
Check container is running:
-
Check firewall:
-
Verify port mapping:
-
Check logs for errors:
Redis connection failed
Redis connection failed
-
Check Redis is running:
-
Test Redis connection:
Should return
PONG -
Verify network connectivity:
-
Check Redis health:
Wrong timestamps in archives
Wrong timestamps in archives