github marcpope/borgbackupserver v2.0.3

latest releases: v2.24.0, v2.24.0-beta.1, v2.23.0...
one month ago

Caution

Upgrading from 1.x? This is a major update with a complete rewrite of the catalog system. If you have a large catalog, the migration may take some time. We recommend running the update from the command line:

sudo /var/www/bbs/bin/bbs-update

What's New in 2.x

Catalog System Overhaul

  • Flat per-agent catalog tables — replaces the old normalized schema with simple per-agent tables, eliminating expensive JOINs.
  • MyISAM + server-side LOAD DATA INFILE — catalog imports that took 7+ minutes now complete in under 3 minutes for ~1M files.
  • Instant directory browsing — new catalog_dirs index enables sub-second folder expansion in the file recovery UI.
  • Catalog cleanup on prune — pruned archives automatically have their catalog entries removed.

SSH-Piped Catalog Streaming

  • Catalog data streams directly from agent to server via SSH pipe — faster and handles arbitrarily large file lists.

Background Upgrade Page

  • Updates now run in the background with a live progress page, streaming log output, and elapsed timer.

Split Updater

  • bbs-update is now a two-stage process ensuring update steps always match the new code version.

Fixes in 2.0.3

Agent (v2.0.3)

  • Fixed backup failures on CentOS 7 with non-ASCII filenames — backups crashed with 'ascii' codec can't encode character when encountering accented characters (e.g. é). The agent now sets UTF-8 locale before Python starts and re-execs itself with a valid locale if needed. Graceful fallback ensures backups complete even on systems without any UTF-8 locale.

Server

  • Fixed disk usage showing reserved blocks as used space — ext4 reserves 5% of disk by default; a blank 2.9 TB partition incorrectly showed ~150 GB used. Now uses df for accurate stats.
  • Installer fixcurl | sudo bash one-liner now works correctly (prompts were previously swallowed by the log pipe).
  • Migrate-restore improvements — simplified to use root socket auth, auto-fixes DB credentials, applies schema automatically.

Don't miss a new borgbackupserver release

NewReleases is sending notifications on new releases.