npm install -g backinghumVerify:
backinghum --versionnpm install
node bin/cli.js --helpThis CLI wraps native database tools. Install the tools for the databases you plan to use.
- mongosh
- mongodump
- mongorestore
- tar
- mysql
- mysqldump
- gzip / gunzip
- psql
- pg_dump
- gzip / gunzip
- docker
- target container must provide PostgreSQL client binaries
Backup metadata is saved at:
$HOME/.db_backup/backupRegistry.json
Override with:
DB_BACKUP_REGISTRY_PATH=/home/<user>/.db_backup/customRegistry.json
Note: custom registry paths are accepted only if they are inside the current user's home directory.
npm uninstall -g backinghum