Commit graph

5 commits

Author SHA1 Message Date
SamoilenkoVadym
d1ebf0e042 feat: улучшена система бэкапов для критичных данных клиентов
Проблема:
- Authentik, Evolution API, Vaultwarden, Documenso не бэкапились
- Slack уведомления только для CRITICAL, не для WARNINGS
- R2 порог warning 80% (слишком поздно)
- Неточный подсчет snapshots (grep вместо JSON)

Изменения в backup-full-enhanced.sh:
+ Добавлена функция backup_docker_volume для volumes
+ PHASE 3.5: бэкап критичных volumes (authentik, evolution, vaultwarden, documenso)
+ Автообнаружение authentik-postgres
+ Расширен backup_application_data (8 директорий вместо 3)

Изменения в health-check-alerting.sh:
+ R2 warning при 70% вместо 80%
+ Показ процента использования R2 storage
+ Исправлен подсчет snapshots через JSON (было grep)
+ Slack уведомления для WARNINGS

Изменения в .gitignore:
+ Разрешены скрипты opt/05-backups/scripts/
+ Разрешены документы *.md, *.txt
- Игнорируются бэкапы opt/05-backups/*

Результат:
- Покрытие бэкапами увеличено с 60% до ~85%
- Раннее предупреждение при 70% R2
- Все критичные данные клиентов защищены

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 15:35:52 +00:00
SamoilenkoVadym
0f40ef007f feat: fix Presenton Azure OpenAI integration and add project documentation
- Add CLAUDE.md with comprehensive project documentation for Claude Code
- Fix Presenton to use LiteLLM proxy instead of direct Azure OpenAI calls
- Add LiteLLM proxy service to Presenton docker-compose
- Create .env.example and litellm-config.yaml.example templates
- Update .gitignore to exclude litellm-config.yaml but allow .env.example files
- Presenton now successfully connects to Azure OpenAI via LiteLLM proxy

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 09:19:27 +00:00
SamoilenkoVadym
b052b91f9b chore: exclude system-backup folder from Git
Added system-backup/ to .gitignore to prevent large backup files from being committed to repository.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 16:59:27 +00:00
SamoilenkoVadym
972003dba2 feat: add /mnt folder to Syncthing sync
Added /mnt folder synchronization for backups (6.8GB) and PostgreSQL data. Updated documentation in README.md, .claude/workflow.md and .gitignore to exclude large backup files.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 16:52:52 +00:00
SamoilenkoVadym
a987d45fbc chore: initial infrastructure setup with Syncthing, Git and documentation
Set up three-tier synchronization: Syncthing (real-time), GitHub (version control), rsync (disaster recovery). Includes complete documentation for future Claude sessions.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 16:41:12 +00:00