powerbackup
Version:
Multi-Database Backup & Restore Tool v2.4.2 with Beautiful Logging, REST API, Enhanced Binary Detection & Debug Tools
89 lines (88 loc) • 2.13 kB
JSON
{
"backup_dir": "../../backups",
"gpg": {
"symmetric_passphrase_file": "./src/config/passphrase",
"recipients": []
},
"api": {
"enabled": true,
"port": 3000,
"host": "localhost",
"cors": {
"origins": ["http://localhost:3000"]
},
"rateLimit": {
"max": 100,
"windowMs": 900000
},
"auth": {
"hmacSecret": null,
"jwtSecret": null,
"tokenExpiry": "24h"
}
},
"restore_locations": {
"development": {
"mysql": "mysql://dev_user:dev_pass@localhost:3306/dev_db",
"postgres": "postgresql://dev_user:dev_pass@localhost:5432/dev_db"
},
"staging": {
"mysql": "mysql://staging_user:staging_pass@staging-server:3306/staging_db",
"postgres": "postgresql://staging_user:staging_pass@staging-server:5432/staging_db"
},
"testing": {
"mysql": "mysql://test_user:test_pass@localhost:3306/test_db",
"postgres": "postgresql://test_user:test_pass@localhost:5432/test_db"
}
},
"binaries": {
"pg_dump": null,
"pg_restore": null,
"mysqldump": null,
"mysql": null
},
"databases": [
{
"name": "example-mysql",
"type": "mysql",
"url": "mysql://user:password@localhost:3306/database_name",
"keep": {
"hourly": 24,
"daily": 7,
"weekly": 4,
"monthly": 12,
"yearly": 0
},
"test_restore": {
"enabled": true,
"verify_query": "SELECT COUNT(*) FROM information_schema.tables",
"hour": 3
}
},
{
"name": "example-postgres",
"type": "postgres",
"url": "postgresql://user:password@localhost:5432/database_name",
"keep": {
"hourly": 24,
"daily": 7,
"weekly": 4,
"monthly": 12,
"yearly": 0
},
"test_restore": {
"enabled": true,
"verify_query": "SELECT COUNT(*) FROM information_schema.tables",
"hour": 3
}
}
],
"keyring_path": "./src/config/keyring.gpg",
"default_keep": {
"hourly": 24,
"daily": 7,
"weekly": 4,
"monthly": 12,
"yearly": 0
}
}