Skip to content

Command-line tools

Every NGBackup program lives in /opt/backup/bin/.

ProgramRolePort
backup-dirDirector — schedules and orchestrates9101
backup-sdStorage Daemon — reads/writes volumes9103
backup-fdFile Daemon — agent on protected machines (flag-driven)9102
ProgramPurposeBacula equivalent
backup-consoleInteractive console (run/restore/status)bconsole
backup-cliDrive the Director from scripts
backup-copyCopy/migrate volumes between poolsbcopy
backup-extractExtract files directly from a volumebextract
backup-lsList the contents of a volumebls
backup-scanRebuild the catalog from volumesbscan
backup-dbcheckCheck and repair the catalogdbcheck
backup-dirjson · backup-sdjson · backup-fdjson · backup-consjsonDump any config as JSON
Terminal window
backup-dir -t -c /opt/backup/etc/backup-dir.conf
backup-sd -t -c /opt/backup/etc/backup-sd.conf
backup-fd -t -c /opt/backup/etc/backup-fd.conf

-t tests and exits; combine with the *json tools to feed automation or the Web Console.