Skip to main content

Overview

Borg UI provides powerful backup scheduling with visual cron expression builder, multi-repository support, execution history tracking, and automatic maintenance operations.

Visual Cron Builder

Create schedules using a visual interface or cron expressions:
Cron Format:

Common Schedules

Borg UI provides preset cron expressions:

Creating a Schedule

1

Configure Basic Settings

Set up schedule name and timing:
2

Select Repositories

Choose single or multiple repositories:Single Repository:
Multiple Repositories:
3

Configure Maintenance

Set up automatic pruning and compacting:
4

Add Scripts (Optional)

Configure pre/post backup scripts:

Multi-Repository Schedules

Backup multiple repositories in a single schedule:
Junction Table:
Multi-repository schedules execute backups sequentially in the specified order. This ensures resources aren’t overwhelmed by concurrent operations.

Archive Name Templates

Customize archive names with template variables:
Available Variables: Examples:

Execution History

Track schedule execution with linked backup jobs:
Query Scheduled Backups:

Next Run Calculation

Borg UI calculates next execution times:
View Upcoming Jobs:

Validating Cron Expressions

Test cron expressions before saving:
Response:

Running Schedules Manually

Execute a schedule outside its regular timing:

Duplicating Schedules

Copy existing schedules with all settings:
Duplicated schedules are disabled by default to prevent accidental execution. Enable them manually after review.

Prune and Compact Settings

Automate repository maintenance after backups:
Remove old archives based on retention policy
Retention Policy:
  • Keep 7 daily backups
  • Keep 4 weekly backups
  • Keep 6 monthly backups
  • Keep 1 yearly backup
  • Delete everything older
Reclaim disk space after pruning
What it does:
  • Removes deleted archive data
  • Defragments repository
  • Frees disk space
  • Can take significant time for large repos
Compact operations can be time-consuming and resource-intensive. Only enable if disk space is a concern.

Schedule Management

Enable/Disable Schedules

Delete Schedules

Deleting a schedule preserves backup history by setting scheduled_job_id to NULL instead of cascading deletes.

Scheduling Best Practices

  • Off-Peak Hours: Schedule during low-activity periods (e.g., 2-4 AM)
  • Stagger Schedules: Avoid running all backups simultaneously
  • Retention Policies: Use prune to manage storage automatically
  • Test Runs: Use “Run Now” to test schedules before enabling
  • Archive Names: Use templates for consistent naming
  • Multi-Repo: Group related repositories in single schedules
  • Monitoring: Check execution history regularly