[deploy/#292] MySQL/Elasticsearch 자동 백업 시스템 구축#293
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❤️ 기능 설명
Terraform
백업 스크립트
docker exec+mysqldump --single-transaction→ gzip 압축 → OCI 업로드wait_for_completion=true) → tar.gz 압축 → OCI 업로드time-created)GitHub Actions
workflow_dispatch로 수동 실행도 가능)Docker Compose
path.repo환경변수 및 스냅샷 디렉토리 바인드 마운트 추가배포 순서
cd infra/oracle && terraform applybash ~/deploy/docker/backup/setup-cron.sh실행docker compose -f docker/docker-compose.infra.yml restart elasticsearch연결된 issue
연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.
close #292
✅ 체크리스트