mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-12-15 21:09:42 +01:00
- Added configurable compression for database backups using gzip streaming - Implemented auto-detection in restore function for compressed and uncompressed formats - Added performance optimizations including --single-transaction and --extended-insert - Created configuration file for gradual feature rollout with safe defaults - Added helper functions for checking system capabilities and configuration - Included comprehensive test suite to verify backward compatibility - Maintained 100% backward compatibility with existing backup infrastructure
21 lines
561 B
JSON
21 lines
561 B
JSON
{
|
|
"database_backup": {
|
|
"use_compression": false,
|
|
"use_new_features": false,
|
|
"parallel_threads": 4,
|
|
"single_transaction": true,
|
|
"compress_on_fly": false,
|
|
"compression_level": 6,
|
|
"fallback_to_legacy": true
|
|
},
|
|
"compatibility": {
|
|
"maintain_legacy_format": true,
|
|
"dual_format_backup": false,
|
|
"auto_detect_restore": true
|
|
},
|
|
"file_backup": {
|
|
"use_parallel_compression": false,
|
|
"compression_algorithm": "gzip",
|
|
"rsync_compression": false
|
|
}
|
|
} |