feat: add Gitea volumes to Restic backup configuration
- Add gitea-backup plan with dev_gitea_data, dev_gitea_config, and dev_gitea_runner_data volumes - Schedule: Daily at 11 AM - Retention: 7 daily, 4 weekly, 6 monthly, 2 yearly backups - Add missing asciinema_data volume to backup configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,10 @@ services:
|
|||||||
- backup_ai_postgres_data:/volumes/ai_postgres_data:ro
|
- backup_ai_postgres_data:/volumes/ai_postgres_data:ro
|
||||||
- backup_ai_webui_data:/volumes/ai_webui_data:ro
|
- backup_ai_webui_data:/volumes/ai_webui_data:ro
|
||||||
- backup_ai_crawl4ai_data:/volumes/ai_crawl4ai_data:ro
|
- backup_ai_crawl4ai_data:/volumes/ai_crawl4ai_data:ro
|
||||||
|
- backup_asciinema_data:/volumes/asciinema_data:ro
|
||||||
|
- backup_dev_gitea_data:/volumes/dev_gitea_data:ro
|
||||||
|
- backup_dev_gitea_config:/volumes/dev_gitea_config:ro
|
||||||
|
- backup_dev_gitea_runner_data:/volumes/dev_gitea_runner_data:ro
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
TZ: ${TIMEZONE:-Europe/Berlin}
|
TZ: ${TIMEZONE:-Europe/Berlin}
|
||||||
@@ -150,6 +154,18 @@ volumes:
|
|||||||
backup_ai_crawl4ai_data:
|
backup_ai_crawl4ai_data:
|
||||||
name: ai_crawl4ai_data
|
name: ai_crawl4ai_data
|
||||||
external: true
|
external: true
|
||||||
|
backup_asciinema_data:
|
||||||
|
name: asciinema_data
|
||||||
|
external: true
|
||||||
|
backup_dev_gitea_data:
|
||||||
|
name: dev_gitea_data
|
||||||
|
external: true
|
||||||
|
backup_dev_gitea_config:
|
||||||
|
name: dev_gitea_config
|
||||||
|
external: true
|
||||||
|
backup_dev_gitea_runner_data:
|
||||||
|
name: dev_gitea_runner_data
|
||||||
|
external: true
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
compose_network:
|
compose_network:
|
||||||
|
|||||||
@@ -326,6 +326,26 @@
|
|||||||
"yearly": 2
|
"yearly": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "gitea-backup",
|
||||||
|
"repo": "hidrive-backup",
|
||||||
|
"paths": [
|
||||||
|
"/volumes/dev_gitea_data",
|
||||||
|
"/volumes/dev_gitea_config",
|
||||||
|
"/volumes/dev_gitea_runner_data"
|
||||||
|
],
|
||||||
|
"schedule": {
|
||||||
|
"cron": "0 11 * * *"
|
||||||
|
},
|
||||||
|
"retention": {
|
||||||
|
"policyTimeBucketed": {
|
||||||
|
"daily": 7,
|
||||||
|
"weekly": 4,
|
||||||
|
"monthly": 6,
|
||||||
|
"yearly": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user