# Introduction Help

<div id="bkmrk-intro-help-%26-documen" style="font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; line-height: 1.6; color: #374151; background: #fff; max-width: 1200px; margin: 0 auto; padding: 24px;"><div style="margin-bottom: 24px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><svg fill="none" height="32" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="32"> <circle cx="12" cy="12" r="10"></circle> <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path> <line x1="12" x2="12.01" y1="17" y2="17"></line> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"># Intro Help &amp; Documentation

<div style="color: #4b5563; font-size: 14px;">Learn how to use Borgmatic Director UI to manage your backups</div></td></tr></tbody></table>

</div><div style="background: linear-gradient(to right,#eff6ff,#eef2ff); border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px; margin: 0 0 24px 0;"><div style="font-weight: bold; color: #1e3a8a; margin: 0 0 12px 0;">Quick Links</div><div style="display: flex; flex-wrap: wrap; gap: 8px;">[ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <circle cx="12" cy="12" r="10"></circle> <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path> <line x1="12" x2="12.01" y1="17" y2="17"></line> </svg> Overview ](#bkmrk-overview---what-is-b) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <rect height="8" rx="2" ry="2" width="20" x="2" y="2"></rect> <rect height="8" rx="2" ry="2" width="20" x="2" y="14"></rect> <line x1="6" x2="6.01" y1="6" y2="6"></line> <line x1="6" x2="6.01" y1="18" y2="18"></line> </svg> Operating Modes ](#bkmrk-operating-modes-borg) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path> <path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> Connecting Client ](#bkmrk-connecting-a-client-) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <ellipse cx="12" cy="5" rx="9" ry="3"></ellipse> <path d="M3 5V19A9 3 0 0 0 21 19V5"></path> <path d="M3 12A9 3 0 0 0 21 12"></path> </svg> Repositories ](#bkmrk-setting-up-repositor) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path> <polyline points="14 2 14 8 20 8"></polyline> <line x1="16" x2="8" y1="13" y2="13"></line> <line x1="16" x2="8" y1="17" y2="17"></line> <polyline points="10 9 9 9 8 9"></polyline> </svg> Backup Jobs ](#bkmrk-creating-backup-jobs) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <circle cx="12" cy="12" r="10"></circle> <polyline points="12 6 12 12 16 14"></polyline> </svg> Schedules ](#bkmrk-setting-up-schedules) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path> <polyline points="7 10 12 15 17 10"></polyline> <line x1="12" x2="12" y1="15" y2="3"></line> </svg> Restore ](#bkmrk-viewing-and-restorin) [ <svg fill="none" height="12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="margin-right: 4px;" viewbox="0 0 24 24" width="12"> <circle cx="12" cy="12" r="3"></circle> <path d="M12 1v6m0 6v6m9-9h-6m-6 0H3"></path> </svg> Settings ](#bkmrk-settings-overview-th)</div></div><details id="bkmrk-overview---what-is-b" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <circle cx="12" cy="12" r="10"></circle> <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path> <line x1="12" x2="12.01" y1="17" y2="17"></line> </svg> <span style="font-weight: bold; color: #111827;">Overview - What is Borgmatic UI?</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

**Borgmatic UI** is a web-based interface for managing{' '} [BorgBackup](https://www.borgbackup.org/){' '} through{' '} [Borgmatic](https://torsion.org/borgmatic/). It provides an intuitive interface for configuring backups, managing repositories, scheduling automated backups, and restoring files.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #1e3a8a; margin: 0 0 8px 0;">Key Features</div>- 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

</div></div></div></details><details id="bkmrk-operating-modes-borg" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <rect height="8" rx="2" ry="2" width="20" x="2" y="2"></rect> <rect height="8" rx="2" ry="2" width="20" x="2" y="14"></rect> <line x1="6" x2="6.01" y1="6" y2="6"></line> <line x1="6" x2="6.01" y1="18" y2="18"></line> </svg> <span style="font-weight: bold; color: #111827;">Operating Modes</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

Borgmatic UI can operate in two main modes, depending on your needs:

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: separate; border-spacing: 12px; margin: 0 0 16px 0;"><tbody><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 32px; vertical-align: top; padding: 0;"><svg fill="none" height="24" stroke="#16a34a" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="24"> <rect height="8" rx="2" ry="2" width="20" x="2" y="2"></rect> <rect height="8" rx="2" ry="2" width="20" x="2" y="14"></rect> <line x1="6" x2="6.01" y1="6" y2="6"></line> <line x1="6" x2="6.01" y1="18" y2="18"></line> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; font-size: 18px; color: #111827; margin: 0 0 8px 0;">Client / Standalone Mode</div>Run Borgmatic UI on a single machine to manage its local backups. This is the default mode and is perfect for individual servers or workstations.

<div style="background: #f0fdf4; padding: 12px; border-radius: 6px; font-size: 14px;">**Use when:**- You have a single server to back up
- You want a simple, self-contained backup solution
- You don't need centralized management

</div><div style="margin-top: 12px; font-size: 14px; color: #6b7280;">**Note:** A standalone instance can later connect to a Director to become a managed client.</div></td></tr></tbody></table>

</td><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 32px; vertical-align: top; padding: 0;"><svg fill="none" height="24" stroke="#9333ea" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="24"> <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path> <circle cx="9" cy="7" r="4"></circle> <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path> <path d="M16 3.13a4 4 0 0 1 0 7.75"></path> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; font-size: 18px; color: #111827; margin: 0 0 8px 0;">Director Mode</div>A central management server that can monitor and control multiple client instances. The Director doesn't run backups itself – it manages others.

<div style="background: #faf5ff; padding: 12px; border-radius: 6px; font-size: 14px;">**Use when:**- You have multiple servers to back up
- You want centralized monitoring and control
- You need to manage backups across your infrastructure

</div><div style="margin-top: 12px; font-size: 14px; color: #6b7280;">**Features:** Client management, templates, deployments, centralized passphrase vault.</div></td></tr></tbody></table>

</td></tr></tbody></table>

<div style="background: #fefce8; border: 1px solid #fef08a; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 24px; vertical-align: top; padding: 0;"><svg fill="none" height="20" stroke="#ca8a04" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <circle cx="12" cy="12" r="10"></circle> <line x1="12" x2="12" y1="8" y2="12"></line> <line x1="12" x2="12.01" y1="16" y2="16"></line> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; color: #854d0e; margin: 0 0 4px 0;">Choosing Your Mode</div>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.

</td></tr></tbody></table>

</div></div></div></details><details id="bkmrk-connecting-a-client-" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path> <path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> <span style="font-weight: bold; color: #111827;">Connecting a Client to a Director</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

To connect a Client (or Standalone instance) to a Director for centralized management:

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dbeafe; color: #2563eb; font-weight: 800; text-align: center; line-height: 32px;">1</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; color: #111827; margin: 0 0 4px 0;">On the Director: Get Connection Details</div>In the Director's **Settings → Connection Configuration**, find or create a **Connection Token**. Also note the Director's URL (e.g., <span style="background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-family: 'Courier New',monospace; font-size: 13px;">https://director.example.com:8000</span>).

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dbeafe; color: #2563eb; font-weight: 800; text-align: center; line-height: 32px;">2</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; color: #111827; margin: 0 0 4px 0;">On the Client: Configure Connection</div>Go to **Settings → Client Configuration**. Enter:

- **Client Name:** A friendly name for this client (e.g., "Web Server 1")
- **Director URL:** The full URL including port (use <span style="background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-family: 'Courier New',monospace; font-size: 13px;">https://</span>)
- **Connection Token:** The token from the Director (leave empty if open access)

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dbeafe; color: #2563eb; font-weight: 800; text-align: center; line-height: 32px;">3</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; color: #111827; margin: 0 0 4px 0;">Save and Connect</div>Click **Save Configuration**, then **Test Connection** to verify, and finally **Connect** to establish the connection.

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dcfce7; color: #16a34a; text-align: center; line-height: 32px;"><svg fill="none" height="20" stroke="#16a34a" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" style="vertical-align: middle; margin-top: 5px;" viewbox="0 0 24 24" width="20"> <polyline points="20 6 9 17 4 12"></polyline> </svg></div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; color: #16a34a; margin: 0 0 4px 0;">Connected!</div>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.

</td></tr></tbody></table>

</div><div style="background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Troubleshooting Connection Issues</div>- **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

</div></div></div></details><details id="bkmrk-switching-between-cl" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="23 4 23 10 17 10"></polyline> <polyline points="1 20 1 14 7 14"></polyline> <path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path> </svg> <span style="font-weight: bold; color: #111827;">Switching Between Clients (Director Mode)</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

When logged into a Director, you can switch between viewing the Director's own interface and any connected client's interface.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 8px; padding: 16px; margin: 0 0 16px 0;"><div style="font-weight: bold; color: #7c3aed; margin: 0 0 8px 0;">Using the Client Selector</div></div></div></div>In the top navigation bar, you'll see a dropdown showing **"Director"** or the currently selected client's name. Click it to:

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 8px; padding: 16px; margin: 0 0 16px 0;">- 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

</div><table role="presentation" style="width: 100%; border-collapse: separate; border-spacing: 12px; margin: 0 0 16px 0;"><tbody><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 20px; vertical-align: top; padding: 0;"><svg fill="none" height="16" stroke="#9333ea" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="16"> <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path> <circle cx="9" cy="7" r="4"></circle> <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path> <path d="M16 3.13a4 4 0 0 1 0 7.75"></path> </svg></td><td style="vertical-align: top; padding: 0 0 0 8px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Director View</div>- See all connected clients
- Manage templates and deployments
- Configure the vault for passphrases
- View aggregated statistics

</td></tr></tbody></table>

</td><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 20px; vertical-align: top; padding: 0;"><svg fill="none" height="16" stroke="#16a34a" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="16"> <rect height="8" rx="2" ry="2" width="20" x="2" y="2"></rect> <rect height="8" rx="2" ry="2" width="20" x="2" y="14"></rect> <line x1="6" x2="6.01" y1="6" y2="6"></line> <line x1="6" x2="6.01" y1="18" y2="18"></line> </svg></td><td style="vertical-align: top; padding: 0 0 0 8px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Client View</div>- Manage backup jobs
- View/restore archives
- Configure schedules
- Edit repositories

</td></tr></tbody></table>

</td></tr></tbody></table>

<div style="background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #1e3a8a; margin: 0 0 8px 0;">Quick Access from Dashboard</div></div></div></div>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.

</details><details id="bkmrk-setting-up-repositor" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <ellipse cx="12" cy="5" rx="9" ry="3"></ellipse> <path d="M3 5V19A9 3 0 0 0 21 19V5"></path> <path d="M3 12A9 3 0 0 0 21 12"></path> </svg> <span style="font-weight: bold; color: #111827;">Setting Up Repositories</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

A **repository** is where your backup data is stored. Before creating backup jobs, you need to set up at least one repository.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="font-weight: bold; color: #111827; margin: 0 0 12px 0;">Supported Repository Types</div><table role="presentation" style="width: 100%; border-collapse: separate; border-spacing: 12px; margin: 0 0 16px 0;"><tbody><tr><td style="width: 33.33%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Local</div><div style="font-size: 12px; color: #6b7280;">Backup to a local directory or mounted drive</div></td><td style="width: 33.33%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">SSH/SFTP</div><div style="font-size: 12px; color: #6b7280;">Backup to a remote server via SSH</div></td><td style="width: 33.33%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Borg Server</div><div style="font-size: 12px; color: #6b7280;">Connect to a dedicated Borg backup server</div></td></tr><tr><td style="width: 33.33%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">S3/MinIO</div><div style="font-size: 12px; color: #6b7280;">Amazon S3 or compatible object storage</div></td><td style="width: 33.33%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Rclone</div><div style="font-size: 12px; color: #6b7280;">Use Rclone for cloud storage (Google Drive, Dropbox, etc.)</div></td><td> </td></tr></tbody></table>

<div style="font-weight: bold; color: #111827; margin: 0 0 12px 0;">Creating a Repository</div>1. Go to **Repositories** in the sidebar
2. Click **Add Repository**
3. 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
4. Click **Create &amp; Initialize** to create the repository

<div style="background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 16px; margin-top: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 24px; vertical-align: top; padding: 0;"><svg fill="none" height="20" stroke="#dc2626" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: bold; color: #991b1b; margin: 0 0 4px 0;">Important: Save Your Passphrase!</div>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).

</td></tr></tbody></table>

</div></div></div></details><details id="bkmrk-creating-backup-jobs" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path> <polyline points="14 2 14 8 20 8"></polyline> <line x1="16" x2="8" y1="13" y2="13"></line> <line x1="16" x2="8" y1="17" y2="17"></line> <polyline points="10 9 9 9 8 9"></polyline> </svg> <span style="font-weight: bold; color: #111827;">Creating Backup Jobs</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

A **backup job** defines what to back up and where. Each job specifies source directories, a target repository, and optional exclusions.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="font-weight: bold; color: #111827; margin: 0 0 12px 0;">Creating a Backup Job</div>1. Go to **Backup Jobs** in the sidebar
2. Click **Create Backup Job**
3. 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/)
4. Click **Save** to create the job

<div style="font-weight: bold; color: #111827; margin: 16px 0 12px 0;">Running Backups</div><table role="presentation" style="width: 100%; border-collapse: separate; border-spacing: 12px; margin: 0 0 16px 0;"><tbody><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 24px; vertical-align: top; padding: 0;"><svg fill="none" height="20" stroke="#16a34a" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polygon points="5 3 19 12 5 21 5 3"></polygon> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Manual Backup</div>Click the **Run Now** button on any backup job to start an immediate backup. Progress is shown in real-time.

</td></tr></tbody></table>

</td><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 24px; vertical-align: top; padding: 0;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <circle cx="12" cy="12" r="10"></circle> <polyline points="12 6 12 12 16 14"></polyline> </svg></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Scheduled Backup</div>Set up a schedule (see next section) to run backups automatically at specified times.

</td></tr></tbody></table>

</td></tr></tbody></table>

<div style="background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #1e3a8a; margin: 0 0 8px 0;">Backup Archives</div></div></div></div>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.

</details><details id="bkmrk-setting-up-schedules" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <circle cx="12" cy="12" r="10"></circle> <polyline points="12 6 12 12 16 14"></polyline> </svg> <span style="font-weight: bold; color: #111827;">Setting Up Schedules</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

**Schedules** automate your backups by running them at specified times. You can create multiple schedules for different backup jobs.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="font-weight: bold; color: #111827; margin: 0 0 12px 0;">Creating a Schedule</div>1. Go to **Schedules** in the sidebar
2. Click **Add Schedule**
3. 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
4. Click **Save** to activate the schedule

<div style="font-weight: bold; color: #111827; margin: 16px 0 12px 0;">Schedule Examples</div><div style="background: #f9fafb; border-radius: 8px; padding: 16px;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="padding: 8px 0; font-size: 14px; color: #4b5563;">Daily at 2:00 AM</td><td style="padding: 8px 0; text-align: right;"><span style="background: #e5e7eb; padding: 4px 8px; border-radius: 4px; font-family: 'Courier New',monospace; font-size: 12px;">0 2 \* \* \*</span></td></tr><tr><td style="padding: 8px 0; font-size: 14px; color: #4b5563;">Every Sunday at midnight</td><td style="padding: 8px 0; text-align: right;"><span style="background: #e5e7eb; padding: 4px 8px; border-radius: 4px; font-family: 'Courier New',monospace; font-size: 12px;">0 0 \* \* 0</span></td></tr><tr><td style="padding: 8px 0; font-size: 14px; color: #4b5563;">Every 6 hours</td><td style="padding: 8px 0; text-align: right;"><span style="background: #e5e7eb; padding: 4px 8px; border-radius: 4px; font-family: 'Courier New',monospace; font-size: 12px;">0 \*/6 \* \* \*</span></td></tr><tr><td style="padding: 8px 0; font-size: 14px; color: #4b5563;">First of every month at 3 AM</td><td style="padding: 8px 0; text-align: right;"><span style="background: #e5e7eb; padding: 4px 8px; border-radius: 4px; font-family: 'Courier New',monospace; font-size: 12px;">0 3 1 \* \*</span></td></tr></tbody></table>

</div><div style="background: #fefce8; border: 1px solid #fef08a; border-radius: 8px; padding: 16px; margin-top: 16px;"><div style="font-weight: bold; color: #854d0e; margin: 0 0 8px 0;">Best Practices</div>- 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

</div></div></div></details><details id="bkmrk-viewing-and-restorin" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path> <polyline points="7 10 12 15 17 10"></polyline> <line x1="12" x2="12" y1="15" y2="3"></line> </svg> <span style="font-weight: bold; color: #111827;">Viewing and Restoring Archives</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

The **View/Restore** page lets you browse your backup archives and restore files when needed.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><div style="font-weight: bold; color: #111827; margin: 0 0 12px 0;">Browsing Archives</div>1. Go to **View/Restore** in the sidebar
2. You'll see a list of your repositories
3. Click on a repository to expand it and see archives grouped by backup job
4. Each archive shows: 
    - Creation date and time
    - Size (original and deduplicated)
    - Number of files

<div style="font-weight: bold; color: #111827; margin: 16px 0 12px 0;">Restoring Files</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dcfce7; color: #16a34a; font-weight: 800; text-align: center; line-height: 32px;">1</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Select an Archive</div>Click the **View** button on the archive you want to restore from.

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dcfce7; color: #16a34a; font-weight: 800; text-align: center; line-height: 32px;">2</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Browse Files</div>Navigate through the archive's directory structure to find the files you need.

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dcfce7; color: #16a34a; font-weight: 800; text-align: center; line-height: 32px;">3</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Select Files to Restore</div>Check the files or directories you want to restore. You can select individual files or entire folders.

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dcfce7; color: #16a34a; font-weight: 800; text-align: center; line-height: 32px;">4</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Choose Restore Location</div>Specify where to restore the files:

- **Original location:** Restore files to their original paths
- **Custom location:** Restore to a different directory

</td></tr></tbody></table>

</div><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: collapse;"><tbody><tr><td style="width: 40px; vertical-align: top; padding: 0;"><div style="width: 32px; height: 32px; border-radius: 999px; background: #dcfce7; color: #16a34a; font-weight: 800; text-align: center; line-height: 32px;">5</div></td><td style="vertical-align: top; padding: 0 0 0 12px;"><div style="font-weight: 600; color: #111827; margin: 0 0 4px 0;">Start Restore</div>Click **Restore** and wait for the process to complete. Progress is shown in real-time.

</td></tr></tbody></table>

</div><div style="background: #fefce8; border: 1px solid #fef08a; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #854d0e; margin: 0 0 8px 0;">Restore Tips</div>- 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

</div></div></div></details><details id="bkmrk-settings-overview-th" style="background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 12px 0; overflow: hidden;"><summary style="display: flex; align-items: center; justify-content: space-between; padding: 16px; cursor: pointer; list-style: none;"><svg fill="none" height="20" stroke="#2563eb" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <circle cx="12" cy="12" r="3"></circle> <path d="M12 1v6m0 6v6m9-9h-6m-6 0H3"></path> </svg> <span style="font-weight: bold; color: #111827;">Settings Overview</span><svg fill="none" height="20" stroke="#9ca3af" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewbox="0 0 24 24" width="20"> <polyline points="6 9 12 15 18 9"></polyline> </svg></summary>

The **Settings** page contains various configuration options depending on your operating mode.

<div style="padding: 16px; border-top: 1px solid #f3f4f6;"><div style="margin: 0 0 16px 0;"><table role="presentation" style="width: 100%; border-collapse: separate; border-spacing: 12px;"><tbody><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Operating Mode</div>View and change your current mode (Client/Standalone or Director). Changing modes will reset mode-specific configurations.

</td><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Client Configuration</div>Configure connection to a Director server. Set client name, Director URL, and connection token.

</td></tr><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Connection Configuration</div>(Director only) Manage connection tokens and security settings for client connections.

</td><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Domain &amp; Security</div>Configure custom domains, SSL certificates, and security settings for your installation.

</td></tr><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">Vault</div>(Director only) Securely store and manage repository passphrases for connected clients.

</td><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">System Settings</div>Configure backup timeouts, concurrent backup limits, log retention, and other system-wide settings.

</td></tr><tr><td style="width: 50%; vertical-align: top; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;"><div style="font-weight: bold; color: #111827; margin: 0 0 8px 0;">User Management</div>(Admin only) Create and manage user accounts, reset passwords, and configure permissions.

</td><td> </td></tr></tbody></table>

</div></div></details><div style="text-align: center; font-size: 14px; color: #6b7280; padding: 16px 0;">  
</div></div>Borgmatic UI • Built with{' '} [BorgBackup](https://www.borgbackup.org/){' '} and{' '} [Borgmatic](https://torsion.org/borgmatic/)