Overview
Borg UI provides fast archive browsing with intelligent Redis caching that dramatically improves performance for large repositories. Navigate through backup archives, preview files, and restore individual files or entire directories.Redis Caching (600x Faster)
Archive browsing uses Redis caching to accelerate file listings:Performance Improvement: First browse loads from Borg (slow), subsequent browses use Redis cache (600x faster). Cache is automatically invalidated when archives change.
Memory Safety
Borg UI protects against out-of-memory errors when browsing large archives:browse_max_items: Maximum files to load (default: 1,000,000)browse_max_memory_mb: Maximum memory usage (default: 1024 MB)
Browsing Archives
1
List Available Archives
Get all archives in a repository:Response:
2
Browse Archive Contents
Navigate through the archive filesystem:Response:
3
Get Archive Details
View detailed information about an archive:
Archive Information
Get comprehensive metadata about an archive:Directory Size Calculation
Borg UI calculates directory sizes recursively:File Restoration
Download Individual Files
1
Select File
Navigate to the file in the archive browser.
2
Extract File
Borg UI extracts the file to a temporary directory:
3
Download
File is served as a download and temporary files are cleaned up.
Deleting Archives
Remove old archives to free up space:Delete Job Status
Monitor archive deletion progress:Cancel Delete Operation
Cache Management
Redis cache stores parsed archive listings:- First browse: Fetches from Borg (slow)
- Subsequent browses: Uses Redis cache (600x faster)
- Auto-invalidation: Cache cleared when archives change
- Size limits: Enforced by cache service
Performance Tips
- Redis Caching: Enable Redis for 600x faster archive browsing
- Memory Limits: Adjust
browse_max_itemsfor very large archives - Directory Sizes: Calculated recursively from cached data
- Bypass Lock: Use for read-only access to locked repositories
- File Restoration: Extract only needed files, not entire archives
- Cleanup: Use
borg pruneinstead of manual archive deletion
Bypass Lock Mode
Browse archives while backups are running:- Repository is locked by another operation
- Read-only access to remote repositories
- Observability-only repositories
Bypass lock mode uses
borg --bypass-lock flag which is safe for read-only operations but should not be used during write operations.File Listing Format
Borg UI parses JSON-lines output from Borg:f: Regular filed: Directoryl: Symbolic linkh: Hard link