Skip to main content

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

KeyTypeDefaultDescription
enabledbooltrueEnable automatic backups
hourlyRetentionint24Hourly backups to keep
dailyRetentionint7Daily backups to keep
weeklyRetentionint4Weekly backups to keep
manualRetentionint10Manual backups to keep (0 = unlimited)
shutdownRetentionint5Shutdown backups to keep
onShutdownbooltrueCreate backup on server shutdown

Default Configuration

{
  "enabled": true,
  "hourlyRetention": 24,
  "dailyRetention": 7,
  "weeklyRetention": 4,
  "manualRetention": 10,
  "shutdownRetention": 5,
  "onShutdown": true
}