# World Backup Automation - Deployment Package

**Version:** 1.0.0  
**Created:** 2026-02-17  
**For:** Firefrost Gaming infrastructure

---

## Package Contents

- `world-backup.py` - Main backup script (Python 3)
- `backup-config.json.example` - Configuration template
- `README.md` - This file

---

## Quick Deploy

```bash
# Copy to Command Center
scp -r world-backup root@63.143.34.217:/opt/automation/

# SSH to Command Center
ssh root@63.143.34.217

# Navigate to backup directory
cd /opt/automation/world-backup

# Copy config template
cp backup-config.json.example backup-config.json

# Edit configuration (add API keys, passwords)
nano backup-config.json

# Install dependencies
pip3 install requests --break-system-packages

# Create staging directory
mkdir -p /opt/automation/backup-staging

# Test run
python3 world-backup.py

# Schedule with cron (3:30 AM daily, before restarts at 4 AM)
crontab -e
# Add: 30 3 * * * /usr/bin/python3 /opt/automation/world-backup/world-backup.py >> /var/log/world-backup.log 2>&1
```

---

## Configuration

Edit `backup-config.json` and update:

1. **Pterodactyl API key** - Get from panel.firefrostgaming.com
2. **NextCloud password** - Get from Vaultwarden
3. **Discord webhook URL** - Create in Discord server settings

---

## Requirements

- Python 3.9+
- `requests` library
- NextCloud or S3-compatible storage
- Pterodactyl API access
- ~200 GB storage for backups

---

## Documentation

See full deployment guide:
`docs/tasks/world-backup-automation/deployment-plan.md`

---

**Fire + Frost + Foundation = Where Love Builds Legacy** 💙🔥❄️
