OVHserver/opt
SamoilenkoVadym 955ad0a589 fix: исправлен расчет использования Cloudflare R2 storage
Проблема:
- health-check-alerting.sh использовал --mode restore-size
- Показывал 23.33GB вместо реальных 6.51GB
- False positive alert о превышении лимита R2 (10GB)

Решение:
- Изменен режим на --mode raw-data для получения фактического размера
- raw-data показывает реальное использование R2 с учетом дедупликации
- Добавлены пояснительные логи "(raw storage with deduplication)"

Проверка:
- Cloudflare UI: 7.05GB 
- restic stats raw-data: 6.514 GiB 
- restore-size: 23.330 GiB (размер при восстановлении всех снапшотов)

Теперь скрипт корректно показывает:
 R2 storage OK: 6.51GB / 10GB (raw storage with deduplication)
📦 R2 snapshots: 3 (policy: keep 3 daily + 1 weekly)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 11:06:52 +00:00
..
00-infrastructure chore: initial infrastructure setup with Syncthing, Git and documentation 2025-11-05 16:41:12 +00:00
01-security chore: initial infrastructure setup with Syncthing, Git and documentation 2025-11-05 16:41:12 +00:00
02-core fix: улучшения скриптов мониторинга и backup 2025-11-06 10:47:20 +00:00
03-business chore: initial infrastructure setup with Syncthing, Git and documentation 2025-11-05 16:41:12 +00:00
04-tools chore: initial infrastructure setup with Syncthing, Git and documentation 2025-11-05 16:41:12 +00:00
05-backups/scripts fix: исправлен расчет использования Cloudflare R2 storage 2025-11-06 11:06:52 +00:00
infrastructure-docs fix: улучшения скриптов мониторинга и backup 2025-11-06 10:47:20 +00:00
postiz-config chore: initial infrastructure setup with Syncthing, Git and documentation 2025-11-05 16:41:12 +00:00
fix_odoo_pass.py chore: initial infrastructure setup with Syncthing, Git and documentation 2025-11-05 16:41:12 +00:00