UNPKG

powerbackup

Version:

Multi-Database Backup & Restore Tool v2.4.2 with Beautiful Logging, REST API, Enhanced Binary Detection & Debug Tools

120 lines (119 loc) 3.88 kB
{ "name": "powerbackup", "version": "2.4.2", "description": "Multi-Database Backup & Restore Tool v2.4.2 with Beautiful Logging, REST API, Enhanced Binary Detection & Debug Tools", "main": "src/index.js", "bin": { "powerbackup": "src/cli.js" }, "type": "module", "scripts": { "start": "node src/cli.js", "api": "node src/api/index.js", "api:dev": "node --watch src/api/index.js", "test": "node src/test-backup.js", "dev": "node --watch src/cli.js", "install-deps": "cd src && npm install", "help": "node src/cli.js", "list": "node src/cli.js list-dbs", "add": "node src/cli.js add-db", "backup": "node src/cli.js create-now", "test-restore": "node src/cli.js test-restore", "restore": "node src/cli.js restore", "tables": "node src/cli.js list-tables", "restore-table": "node src/cli.js restore-table", "interactive": "node src/cli.js interactive-restore", "backups": "node src/cli.js list-backups", "debug": "node debug-backup.js", "test:unit": "node src/tests/unit.js", "test:integration": "node src/tests/integration.js", "test:all": "npm run test:unit && npm run test:integration", "scheduler:once": "node src/scheduler.js src/config/config.json once", "scheduler:daemon": "node src/scheduler.js src/config/config.json daemon", "pm2:start": "pm2 start ecosystem.config.js", "pm2:stop": "pm2 stop powerbackup-scheduler", "pm2:restart": "pm2 restart powerbackup-scheduler", "pm2:status": "pm2 status", "pm2:logs": "pm2 logs powerbackup-scheduler", "pm2:monit": "pm2 monit", "install:pm2": "npm install -g pm2", "install:cron": "chmod +x install-cron.sh && ./install-cron.sh", "install:windows": "powershell -ExecutionPolicy Bypass -File install-windows-task.ps1", "install:systemd": "sudo cp powerbackup.service /etc/systemd/system/ && sudo systemctl daemon-reload && sudo systemctl enable powerbackup", "docs:build": "echo 'Documentation built successfully'", "docs:serve": "npx http-server docs -p 8080 -o", "test:global": "node -e \"require('os').platform() === 'win32' ? require('child_process').execSync('test-global-install.ps1', {stdio: 'inherit'}) : require('child_process').execSync('bash test-global-install.sh', {stdio: 'inherit'})\"", "pack:test": "npm pack --dry-run", "pack:create": "npm pack" }, "keywords": [ "backup", "database", "mysql", "postgresql", "restore", "encryption", "compression", "api", "rest", "automation" ], "author": "PowerBackup Team", "license": "MIT", "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/anonnion/powerbackup.git" }, "bugs": { "url": "https://github.com/anonnion/powerbackup/issues" }, "homepage": "https://anonnion.github.io/powerbackup/", "files": [ "src/", "docs/", "README.md", "LICENSE", "CHANGELOG.md", "CONTRIBUTING.md", "DEPLOYMENT.md", "ecosystem.config.js", "powerbackup.service", "install-cron.sh", "install-windows-task.ps1", "setup.sh", "setup.bat", "test-global-install.sh", "test-global-install.ps1", "debug-backup.js" ], "publishConfig": { "access": "public" }, "preferGlobal": true, "dependencies": { "@aws-sdk/client-s3": "^3.500.0", "adm-zip": "^0.5.16", "commander": "^12.0.0", "cors": "^2.8.5", "express": "^4.18.2", "express-rate-limit": "^7.1.5", "helmet": "^7.1.0", "inquirer": "^12.9.1", "openpgp": "^6.2.0", "pg": "^8.11.3", "mysql2": "^3.9.0", "tmp-promise": "^3.0.3", "winston": "^3.13.0", "date-fns": "^3.6.0", "chalk": "^5.3.0", "ora": "^8.0.1", "cli-table3": "^0.6.3", "figlet": "^1.7.0" }, "devDependencies": { "eslint": "^9.0.0" } }