Backups internals & operations
Off-site backup on a BOA host is a Duplicity-driven subsystem with three
distinct orchestrators, each with its own config tree, bucket-name scheme,
and license gate. This section documents the live interface — the scripts
under /opt/local/bin, the config trees they read, and the cron paths that
fire them — not a generic "how to back up" walkthrough.
The three orchestrators:
multiback— the current root-side engine. Eleven backend keys across nine providers, per-path-set config under/root/.remote_backups/, encryption passphrase from.secret.txt, license-gated (_tReeset toproordev) via_verify_boa_keys. Installed and wired bydcysetup.mybackup— the tenant-facing front ofmultiback. Restore-only from the lshell side; scheduled backups for tenants are driven by the same root cron path, not by the tenant.backboa/duobackboa— the older single-bucket AWS-S3 tools, configured inline through_AWS_*variables. They ship and run on every host (no license gate) and remain on the staticcron.dcrontab. Treat them as the legacy path; new hosts use themultiback/dcysetupsuite.
mysql_backup.sh (the nightly per-DB mydumper/mysqldump local dump under
/data/disk/arch/sql/) is the local-restore layer that the off-site tools
archive on top of — covered in Database and cross-linked
where the include/exclude sets reference it.
Pages
- Overview & architecture — the three orchestrators, the
Duplicity layer, what each tool actually captures, the license gate, and
the
mysqldump/rsync755 failure mode. - multiback operations —
dcysetupinstall + setup, the/root/.remote_backups/config tree, credential and secret files, thepaths.txt_SOURCE/_INCLUDE_PATHS/_EXCLUDE_PATHSvariables, the interval cron, and how secrets reach Duplicity. - Retention —
KEEP_WITHINandFULL_BACKUP_FREQUENCYvalidation/ranges/defaults, the time-based cleanup path, and the destructivepurgedistinction. - Regions & buckets — deterministic bucket-name construction, per-backend target-URL forms, which providers need a bucket created by hand, and connectivity testing.
- CLI reference — exact verb dispatch and argument
order for
multiback,mybackup,duobackboa, andbackboa, plus the per-bucket log paths. - Legacy backboa — the
_AWS_*interface, thedaily-boa-<host>bucket, singular include/exclude files, the randomised full-backup-day toggle, and theretrievecross-host restore.
See the Reference appendix for the consolidated variable and command tables, and Discontinued features for tools dropped from the suite.