Overview
Borg UI provides comprehensive repository management with support for multiple storage backends, encryption modes, and compression algorithms. Create new repositories or import existing ones with a streamlined workflow.Storage Backends
- Local Storage
- SSH
- SFTP
Store repositories directly on the filesystem where Borg UI is running.Path Examples:
/data/backups/my-repo- Container storage/local/home/user/backups- Host filesystem via Docker mount
Paths starting with
/local/ access your host filesystem through Docker volume mounts. Paths without this prefix are stored inside the container.Encryption Modes
Borg UI supports all Borg encryption modes:Choose Encryption Mode
Select from available encryption modes based on your security requirements:
| Mode | Description | Key Storage |
|---|---|---|
| repokey | Encryption key stored in repository | Repository config |
| keyfile | Encryption key stored separately | ~/.config/borg/keys/ |
| repokey-blake2 | Repokey with BLAKE2 hash | Repository config |
| keyfile-blake2 | Keyfile with BLAKE2 hash | ~/.config/borg/keys/ |
| none | No encryption (not recommended) | N/A |
repokey modes are convenient for single-user setups. keyfile modes allow sharing keys across multiple machines.
Compression Algorithms
Choose compression based on your performance vs. storage requirements:lz4 (Default)
lz4 (Default)
Fast compression with minimal CPU overhead
- Compression ratio: ~2:1 to 3:1
- Speed: Very fast (300+ MB/s)
- Best for: General use, modern hardware
- CPU usage: Low
zstd
zstd
Balanced compression with good ratio
- Compression ratio: ~3:1 to 5:1
- Speed: Fast (100-200 MB/s)
- Best for: Balance of speed and storage
- CPU usage: Medium
- Supports compression levels (1-22)
zlib
zlib
Good compression ratio, slower speed
- Compression ratio: ~3:1 to 6:1
- Speed: Moderate (50-100 MB/s)
- Best for: Storage-constrained environments
- CPU usage: Medium-High
- Supports compression levels (1-9)
lzma
lzma
Maximum compression ratio
- Compression ratio: ~5:1 to 10:1
- Speed: Slow (20-50 MB/s)
- Best for: Archival storage, rarely accessed data
- CPU usage: High
- Supports compression levels (0-9)
auto
auto
Borg auto-detectionBorg automatically selects compression based on file type:
- Already compressed files: No compression
- Compressible files: lz4 compression
obfuscate
obfuscate
Data obfuscation without compression
- Makes data patterns less obvious
- No compression benefit
- Same size as original data
Creating a Repository
Set Source Directories
Specify which directories to backup:
Source directories are required for repositories in full mode. Observability-only repositories don’t need source directories.
Importing Existing Repositories
Import repositories created outside Borg UI:Repository Modes
- Full Mode
- Observe Mode
Complete backup and observability
- Create new backups
- Browse and restore archives
- Schedule automated backups
- Full repository management
SSH Path Prefix
For remote storage with non-standard paths (e.g., Synology NAS):- Synology NAS with
/volume1prefix - Custom chroot environments
- Restricted SSH shells
Repository Statistics
Borg UI automatically tracks repository metrics:- Archive count
- Total repository size
- Last backup timestamp
- Compression effectiveness
- Deduplication ratio
Lock Configuration
Borg UI configures repository locks to prevent conflicts:Best Practices
- Encryption: Always use encryption for sensitive data
- Passphrases: Use strong, unique passphrases (20+ characters)
- Keyfile Backup: Store keyfile backups in a secure location
- Test Restores: Regularly verify backups are recoverable
- Remote Backups: Use SSH for off-site disaster recovery
- Compression: Start with lz4, adjust based on storage needs