powerbackup
Version:
Multi-Database Backup & Restore Tool v2.4.2 with Beautiful Logging, REST API, Enhanced Binary Detection & Debug Tools
95 lines • 2.21 kB
JSON
{
"backup_directory": "./backups",
"databases": [
{
"name": "neondb",
"type": "postgres",
"url": "postgres://neondb_owner:npg_djJhPgl2S1pe@ep-plain-mouse-a4a1ubs4-pooler.us-east-1.aws.neon.tech/neondb?sslmode=require",
"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": "test",
"type": "postgres",
"url": "postgres://neondb_owner:npg_djJhPgl2S1pe@ep-plain-mouse-a4a1ubs4-pooler.us-east-1.aws.neon.tech/neondb?sslmode=require",
"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
}
}
],
"encryption": {
"enabled": true,
"symmetric_passphrase_file": "./src/config/passphrase",
"keyring_path": "./src/config/keyring.gpg"
},
"compression": {
"enabled": true,
"algorithm": "gzip"
},
"logging": {
"level": "debug",
"file": "./logs/powerbackup.log",
"max_size": "10m",
"max_files": 5
},
"binaries": {
"pg_dump": null,
"pg_restore": null,
"mysqldump": null,
"mysql": null,
"mysqlPath": "C:\\MAMP\\bin\\mysql\\bin",
"postgresPath": "C:\\Program Files\\PostgreSQL\\17\\bin"
},
"backup_dir": "../../backups",
"gpg": {
"symmetric_passphrase_file": "./src/config/passphrase",
"recipients": []
},
"restore_locations": {},
"keyring_path": "./src/config/keyring.gpg",
"default_keep": {
"hourly": 24,
"daily": 7,
"weekly": 4,
"monthly": 12,
"yearly": 0
},
"api": {
"enabled": false,
"port": 3000,
"host": "localhost",
"cors": {
"origins": [
"http://localhost:3000"
]
},
"rateLimit": {
"max": 100,
"windowMs": 900000
},
"auth": {
"hmacSecret": null,
"jwtSecret": null,
"tokenExpiry": "24h"
}
}
}