Skip to content

[feat/#587] 운영 DB 백업 자동화 및 GCS 업로드 구축#588

Merged
Dimo-2562 merged 6 commits into
developfrom
feat/#587
May 25, 2026
Merged

[feat/#587] 운영 DB 백업 자동화 및 GCS 업로드 구축#588
Dimo-2562 merged 6 commits into
developfrom
feat/#587

Conversation

@Dimo-2562
Copy link
Copy Markdown
Contributor

@Dimo-2562 Dimo-2562 commented May 22, 2026

❤️ 기능 설명

  • 운영 MySQL dump를 GCS 전용 백업 버킷으로 업로드하는 백업 스크립트를 추가했습니다.
  • main 배포 시에만 prod backup runtime을 /opt/cockple/backup + systemd timer 형태로 설치하고, 1회 smoke backup까지 수행하도록 구성했습니다.
  • backup bucket 권한을 objectCreator로 축소하고, VM boot image를 pinning하여 불필요한 재생성 위험을 줄였습니다.
  • 인프라/배포 변경 PR이라 swagger 스크린샷은 해당 사항이 없습니다.

연결된 issue

연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.

close #587



🩷 Approve 하기 전 확인해주세요!

  • latest 버전은 절대 지양합시다 ㅠㅠ

✅ 체크리스트

  • PR 제목 규칙 잘 지켰는가?
  • 추가/수정사항을 설명하였는가?
  • 테스트 결과 사진을 넣었는가? (인프라 작업으로 해당 없음)
  • 이슈넘버를 적었는가?

@Dimo-2562 Dimo-2562 self-assigned this May 22, 2026
@Dimo-2562 Dimo-2562 added the 🛠️ FEAT This issue or pull request already exists label May 22, 2026
@Dimo-2562 Dimo-2562 changed the title [FEAT] 운영 DB 백업 자동화 및 GCS 업로드 구축 [feat/#587] 운영 DB 백업 자동화 및 GCS 업로드 구축 May 22, 2026
Copy link
Copy Markdown
Contributor

@kanghana1 kanghana1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨슴니다 ㅜㅜ!!

Comment thread terraform/compute.tf
initialize_params {
image = "ubuntu-os-cloud/ubuntu-2204-lts"
# latest 버전은 사용하지 않기.
image = "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-2204-jammy-v20260520"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 별생각없이 맨날 latest 썼는데............... 알아갑니다..

@Dimo-2562 Dimo-2562 merged commit ca0c0df into develop May 25, 2026
1 check passed
@Dimo-2562 Dimo-2562 deleted the feat/#587 branch May 25, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ FEAT This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 운영 DB 백업 자동화 및 GCS 업로드 구축

2 participants