이 페이지에서는 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-07-10(UTC)"],[[["This documentation outlines the process for scheduling Cassandra backups to a Cloud Storage bucket within the Apigee hybrid environment, using version 1.9 of the documentation."],["To enable backups, you must first create a Google Cloud service account with the `roles/storage.objectAdmin` role using the `create-service-account` tool, which generates a JSON key file needed for authentication."],["A Cloud Storage bucket must be created, for which the location and a data retention policy (15 days recommended) need to be defined, for the system to push the backup files to."],["You must modify the `overrides.yaml` file to enable the backup functionality, specifying the service account JSON file path, the Cloud Storage bucket path, the backup schedule in crontab syntax, and setting `cloudProvider` to \"GCP\"."],["Once the edits have been applied to the `overrides.yaml`, you can apply these changes to the cluster using the `$APIGEECTL_HOME/apigeectl apply --datastore` command and then verify the successful creation of the backup cron job."]]],[]]