Config: Backup
Configuration reference for backup.json — automatic backup system with GFS rotation.
Backup Configuration
File Location
mods/com.hyperfactions_HyperFactions/config/backup.json
Controls the automatic backup system using GFS (Grandfather-Father-Son) rotation. Backups are created at hourly intervals and promoted to daily/weekly as they age.
Reload Required
Changes require /f admin reload or a server restart to take effect.
Settings
| Key | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Enable automatic backups |
hourlyRetention | int | 24 | Hourly backups to keep |
dailyRetention | int | 7 | Daily backups to keep |
weeklyRetention | int | 4 | Weekly backups to keep |
manualRetention | int | 10 | Manual backups to keep (0 = unlimited) |
shutdownRetention | int | 5 | Shutdown backups to keep |
onShutdown | bool | true | Create backup on server shutdown |
Default Configuration
{
"enabled": true,
"hourlyRetention": 24,
"dailyRetention": 7,
"weeklyRetention": 4,
"manualRetention": 10,
"shutdownRetention": 5,
"onShutdown": true
}
Related Topics
- Configuration Reference - Main config.json
- Admin Commands - Backup management commands