Files
firefrost-operations-manual/deployments/world-backup/backup-config.json.example
Claude 09330ec8f5 feat: Add world-backup deployment package
Created complete deployment package for world backup automation:

Files Added:
- world-backup.py (300+ lines, production-ready)
- backup-config.json.example (complete config template)
- README.md (quick deploy guide)

Features:
- Automated world downloads via Pterodactyl
- Compression to tar.gz (~80% size reduction)
- Upload to NextCloud via WebDAV
- Retention policy application (7 daily, 4 weekly, 12 monthly)
- Discord notifications (start, per-server, completion)
- Comprehensive error handling and logging

Configuration:
- All 10 Minecraft servers configured
- NextCloud WebDAV integration
- Discord webhook support
- Staging directory management

Ready to deploy on Command Center.

Complements: docs/tasks/world-backup-automation/deployment-plan.md

FFG-STD-002 compliant
2026-02-18 00:30:59 +00:00

91 lines
2.2 KiB
JSON

{
"pterodactyl": {
"url": "https://panel.firefrostgaming.com",
"api_key": "PTERODACTYL_API_KEY_HERE",
"sftp_host": "us.tx1.firefrostgaming.com",
"sftp_port": 2022
},
"nextcloud": {
"webdav_url": "https://downloads.firefrostgaming.com/remote.php/dav/files/admin/",
"username": "admin",
"password": "NEXTCLOUD_PASSWORD_HERE",
"backup_path": "backups/worlds/"
},
"discord": {
"webhook_url": "DISCORD_WEBHOOK_URL_HERE",
"notifications_enabled": true
},
"backup_settings": {
"staging_dir": "/opt/automation/backup-staging",
"compression": "gzip",
"compression_level": 6,
"retention": {
"daily": 7,
"weekly": 4,
"monthly": 12
}
},
"servers": [
{
"name": "Vanilla 1.21.11",
"uuid": "3bed1bda-f648-4630-801a-fe9f2e3d3f27",
"world_path": "world",
"node": "TX1"
},
{
"name": "All The Mons",
"uuid": "668a5220-7e72-4379-9165-bdbb84bc9806",
"world_path": "world",
"node": "TX1"
},
{
"name": "Stoneblock 4",
"uuid": "a0efbfe8-4b97-4a90-869d-ffe6d3072bd5",
"world_path": "world",
"node": "TX1"
},
{
"name": "Society: Sunlit Valley",
"uuid": "9310d0a6-62a6-4fe6-82c4-eb483dc68876",
"world_path": "world",
"node": "TX1"
},
{
"name": "Reclamation",
"uuid": "1eb33479-a6bc-4e8f-b64d-d1e4bfa0a8b4",
"world_path": "world",
"node": "TX1"
},
{
"name": "The Ember Project",
"uuid": "124f9060-58a7-457a-b2cf-b4024fce2951",
"world_path": "world",
"node": "NC1"
},
{
"name": "Minecolonies: Create and Conquer",
"uuid": "a14201d2-83b2-44e6-ae48-e6c4cbc56f24",
"world_path": "world",
"node": "NC1"
},
{
"name": "All The Mods 10",
"uuid": "82e63949-8fbf-4a44-b32a-53324e8492bf",
"world_path": "world",
"node": "NC1"
},
{
"name": "Homestead",
"uuid": "2f85d4ef-aa49-4dd6-b448-beb3fca1db12",
"world_path": "world",
"node": "NC1"
},
{
"name": "EMC Subterra Tech",
"uuid": "09a95f38-9f8c-404a-9557-3a7c44258223",
"world_path": "world",
"node": "NC1"
}
]
}