🔄 Automated backup system for Agent Zero custom configurations.
| Component | Description | Location |
|---|---|---|
| Agents | Custom agent profiles | agents/ |
| Knowledge | Domain-specific knowledge bases | knowledge/custom/ |
| Tools | Custom Python tools | python/tools/ |
| Extensions | Workflow extensions | python/extensions/ |
| Instruments | Custom instruments | instruments/custom/ |
| Prompts | Custom prompt profiles | prompts/ |
| Skills | Skills documentation | SKILLS.md |
| Projects | Project configurations | projects/ |
cd /usr/projects/agent-zero-backup
./backup.shcd /usr/projects/agent-zero-backup
./restore.shBackups run automatically via scheduled task:
- Frequency: Daily at 2:00 AM UTC
- Retention: 30 days of history
- Notifications: On success/failure
| File | Purpose |
|---|---|
backup.sh |
Creates backup from live system |
restore.sh |
Restores backup to live system |
BACKUP_MANIFEST.md |
Backup metadata and statistics |
README.md |
This file |
See BACKUP_MANIFEST.md for:
- Backup date and version
- File count and size
- Component status
- Restore instructions
- Sensitive data (API keys, tokens) is excluded from backup
- Large files (>10MB) are excluded
- Cloned repositories are excluded (only configs backed up)
- Always verify backup before major changes
- Stop Agent Zero
- Run
./restore.sh - Confirm overwrite
- Restart Agent Zero
- Verify configuration
| Issue | Solution |
|---|---|
| Permission denied | Run with sudo |
| Files not found | Check paths in backup.sh |
| Restore incomplete | Check disk space |
| Git push failed | Check token and connectivity |
For issues or questions:
- Check
BACKUP_MANIFEST.mdfor status - Review backup logs
- Verify GitHub token permissions