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_dirsindex 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-updateis 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 characterwhen 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
dffor accurate stats. - Installer fix —
curl | sudo bashone-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.