이 페이지에서는 Cloud Storage에서 Cassandra의 백업을 예약하는 방법을 설명합니다.
이 방법에서는 백업이 지정된 Cloud Storage 버킷에 저장됩니다.
Cassandra 백업을 예약하려면 다음 단계를 수행합니다.
다음 create-service-account 명령어를 실행하여 표준 roles/storage.objectAdmin 역할이 있는 Google Cloud 서비스 계정(SA)을 만듭니다.
이 SA 역할을 사용하면 백업 데이터를 Cloud Storage에 쓸 수 있습니다. hybrid-base-directory/hybrid-files 디렉터리에서 다음 명령어를 실행합니다.
이 명령어는 비프로덕션 환경에 사용할 apigee-non-prod라는 단일 서비스 계정을 만들고 다운로드한 키 파일을 ./service-accounts 디렉터리에 둡니다.
Google Cloud 서비스 계정에 대한 자세한 내용은 서비스 계정 만들기 및 관리를 참조하세요.
create-service-account 명령어는 서비스 계정 비공개 키가 포함된 JSON 파일을 저장합니다. 파일은 명령어가 실행되는 동일한 디렉터리에 저장됩니다. 다음 단계에서는 이 파일의 경로가 필요합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-12(UTC)"],[[["This documentation explains how to schedule Cassandra backups to Cloud Storage for Apigee hybrid deployments, which should be upgraded to a newer version as version 1.7 is end of life."],["Backups are configured within the `overrides.yaml` file by enabling the backup feature and providing the path to a service account JSON key, the Cloud Storage bucket path, the schedule using cron syntax, and indicating that Cloud Storage is the cloud provider."],["A Google Cloud service account with the `roles/storage.objectAdmin` role is required to write backup data to Cloud Storage, and it can be created using the `create-service-account` command."],["Applying the backup configuration to the existing cluster triggers a rolling restart of the Cassandra pods, and it's recommended to avoid scheduling a backup to start immediately after applying the configuration to prevent the initial backup from failing."],["The backup job's status and schedule can be verified using the `kubectl get cronjob -n apigee` command."]]],[]]