Introduction Help
Intro Help & DocumentationLearn how to use Borgmatic Director UI to manage your backups
|
Overview - What is Borgmatic UI?
Borgmatic UI is a web-based interface for managing{' '} BorgBackup{' '} through{' '} Borgmatic. It provides an intuitive interface for configuring backups, managing repositories, scheduling automated backups, and restoring files.
- Create and manage backup jobs with an easy-to-use wizard
- Configure repositories (local, SSH, SFTP, S3, Rclone)
- Schedule automated backups with cron-like scheduling
- Browse and restore files from any backup archive
- Multi-node management with Director mode
- Real-time backup monitoring and logging
Operating Modes
Borgmatic UI can operate in two main modes, depending on your needs:
|
|
|
Choosing Your Mode
You choose the operating mode during initial setup. The mode can be changed later in Settings → Operating Mode, but this will reset mode-specific configurations. |
Connecting a Client to a Director
To connect a Client (or Standalone instance) to a Director for centralized management:
|
1
|
On the Director: Get Connection Details
In the Director's Settings → Connection Configuration, find or create a Connection Token. Also note the Director's URL (e.g., https://director.example.com:8000). |
|
2
|
On the Client: Configure Connection
Go to Settings → Client Configuration. Enter:
|
|
3
|
Save and Connect
Click Save Configuration, then Test Connection to verify, and finally Connect to establish the connection. |
|
Connected!
Once connected, the client will appear in the Director's dashboard and can be managed remotely. The connection uses WebSocket over SSL for real-time communication. |
- Connection refused: Ensure the Director is running and the URL is correct (including https://)
- Invalid token: Double-check the connection token matches exactly
- SSL errors: Director mode automatically uses HTTPS – make sure to use https:// in the URL
- Firewall: Ensure port 8000 (default) is open between client and Director
Switching Between Clients (Director Mode)
When logged into a Director, you can switch between viewing the Director's own interface and any connected client's interface.
In the top navigation bar, you'll see a dropdown showing "Director" or the currently selected client's name. Click it to:
- Switch to Director - View the Director dashboard with all connected clients
- Switch to a Client - View that client's backups, schedules, and settings as if you were logged in directly
|
|
In the Director Dashboard, each connected client has a "View" button. Clicking it switches to that client's view and highlights the dropdown selector so you know where to switch back.
Setting Up Repositories
A repository is where your backup data is stored. Before creating backup jobs, you need to set up at least one repository.
|
Local
Backup to a local directory or mounted drive
|
SSH/SFTP
Backup to a remote server via SSH
|
Borg Server
Connect to a dedicated Borg backup server
|
|
S3/MinIO
Amazon S3 or compatible object storage
|
Rclone
Use Rclone for cloud storage (Google Drive, Dropbox, etc.)
|
- Go to Repositories in the sidebar
- Click Add Repository
- Select the repository type and fill in the details:
- Name: A friendly name for reference
- Path/URL: Where the repository will be stored
- Encryption: Choose encryption mode (repokey-blake2 recommended)
- Passphrase: A strong password to encrypt your backups
- Click Create & Initialize to create the repository
|
Important: Save Your Passphrase!
The repository passphrase is required to access your backups. If you lose it, your backup data will be permanently inaccessible. Store it securely (e.g., in a password manager). |
Creating Backup Jobs
A backup job defines what to back up and where. Each job specifies source directories, a target repository, and optional exclusions.
- Go to Backup Jobs in the sidebar
- Click Create Backup Job
- Fill in the backup configuration:
- Job Name: A descriptive name (e.g., "Daily Website Backup")
- Source Directories: Paths to back up (e.g., /var/www, /home)
- Repository: Select a configured repository
- Exclusions: Patterns to exclude (e.g., *.log, node_modules/)
- Click Save to create the job
|
|
Each time a backup runs, it creates an archive – a point-in-time snapshot. Borg uses deduplication, so subsequent backups only store changed data, making them fast and space-efficient.
Setting Up Schedules
Schedules automate your backups by running them at specified times. You can create multiple schedules for different backup jobs.
- Go to Schedules in the sidebar
- Click Add Schedule
- Configure the schedule:
- Backup Job: Select which job to run
- Frequency: Daily, Weekly, Monthly, or Custom (cron)
- Time: When to run the backup
- Days: For weekly schedules, select which days
- Click Save to activate the schedule
| Daily at 2:00 AM | 0 2 * * * |
| Every Sunday at midnight | 0 0 * * 0 |
| Every 6 hours | 0 */6 * * * |
| First of every month at 3 AM | 0 3 1 * * |
- Run backups during low-activity periods (e.g., night)
- Stagger multiple backup jobs to avoid resource contention
- For critical data, consider running backups multiple times per day
- Monitor backup logs to ensure schedules are running successfully
Viewing and Restoring Archives
The View/Restore page lets you browse your backup archives and restore files when needed.
- Go to View/Restore in the sidebar
- You'll see a list of your repositories
- Click on a repository to expand it and see archives grouped by backup job
- Each archive shows:
- Creation date and time
- Size (original and deduplicated)
- Number of files
|
1
|
Select an Archive
Click the View button on the archive you want to restore from. |
|
2
|
Browse Files
Navigate through the archive's directory structure to find the files you need. |
|
3
|
Select Files to Restore
Check the files or directories you want to restore. You can select individual files or entire folders. |
|
4
|
Choose Restore Location
Specify where to restore the files:
|
|
5
|
Start Restore
Click Restore and wait for the process to complete. Progress is shown in real-time. |
- Restoring to the original location will overwrite existing files
- For safety, consider restoring to a temporary location first
- Large restores may take time – don't close the browser window
- Check file permissions after restore if needed
Settings Overview
The Settings page contains various configuration options depending on your operating mode.
|
Operating Mode
View and change your current mode (Client/Standalone or Director). Changing modes will reset mode-specific configurations. |
Client Configuration
Configure connection to a Director server. Set client name, Director URL, and connection token. |
|
Connection Configuration
(Director only) Manage connection tokens and security settings for client connections. |
Domain & Security
Configure custom domains, SSL certificates, and security settings for your installation. |
|
Vault
(Director only) Securely store and manage repository passphrases for connected clients. |
System Settings
Configure backup timeouts, concurrent backup limits, log retention, and other system-wide settings. |
|
User Management
(Admin only) Create and manage user accounts, reset passwords, and configure permissions. |
Borgmatic UI • Built with{' '} BorgBackup{' '} and{' '} Borgmatic
No comments to display
No comments to display