데이터베이스 클러스터를 클론하면 소스 데이터베이스 클러스터의 기본 인스턴스에 있는 데이터만 타겟 데이터베이스 클러스터 또는 서버의 기본 인스턴스로 클론됩니다.
소스 데이터베이스 클러스터는 백업이 있는 AlloyDB Omni 데이터베이스 클러스터입니다. 이 백업은 독립형 서버 환경 또는 Kubernetes 환경의 다른 데이터베이스 클러스터에 클론됩니다.
대상 데이터베이스 클러스터는 소스 데이터베이스 클러스터의 백업이 클론되는 Kubernetes 환경의 데이터베이스 클러스터입니다. 타겟 서버는 소스 데이터베이스 클러스터의 백업이 클론되는 독립형 서버 환경의 데이터베이스 클러스터입니다.
AlloyDB Omni 데이터베이스 클러스터를 백업하려면 BackupPlan 리소스 매니페스트 파일에서 백업 위치를 구성합니다. 백업을 클론하려는 경우 동일한 Kubernetes 클러스터에 있고 소스 데이터베이스 클러스터와 동일한 네임스페이스를 사용하는 데이터베이스 클러스터로만 클론할 수 있습니다. 백업 생성에 대한 자세한 내용은 Kubernetes에서 백업 및 복원을 참고하세요.
특히 재해 복구를 위해 독립형 서버 환경이나 다른 Kubernetes 환경의 다른 데이터베이스 클러스터에 백업을 클론하려면 pgBackRest 구성과 명령어를 사용해야 합니다. 두 환경의 백업 및 복원 방법은 pgBackRest를 기본 백업 및 복원 솔루션으로 사용합니다.
데이터베이스 클론 방법을 설명하는 다음 섹션에서는 다음 용어가 사용됩니다.
소스 데이터베이스 클러스터
백업이 있는 AlloyDB Omni 데이터베이스 클러스터입니다. 이 백업은 독립형 서버 환경 또는 Kubernetes 환경의 다른 데이터베이스 클러스터에서 클론됩니다.
대상 데이터베이스 클러스터
소스 데이터베이스 클러스터의 백업이 클론되는 Kubernetes 환경의 데이터베이스 클러스터입니다.
대상 서버
소스 데이터베이스 클러스터의 백업이 클론되는 독립형 서버 환경의 데이터베이스 클러스터입니다.
지원되는 백업 및 복원 조합
AlloyDB Omni 데이터베이스 클러스터의 백업은 로컬 또는 Cloud Storage 버킷에 저장할 수 있으므로 다음 백업 및 복원 조합이 지원됩니다.
[[["이해하기 쉬움","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-09-04(UTC)"],[[["\u003cp\u003eThis guide details the process of cloning an AlloyDB Omni database cluster backup for disaster recovery, either in a standalone server or Kubernetes environment.\u003c/p\u003e\n"],["\u003cp\u003eCloning a database cluster only transfers the data from the primary instance of the source to the primary instance of the target.\u003c/p\u003e\n"],["\u003cp\u003eWhile backups within the same Kubernetes cluster can be done through \u003ccode\u003eBackupPlan\u003c/code\u003e, cloning to different environments requires using \u003ccode\u003epgBackRest\u003c/code\u003e configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe process differentiates between the source database cluster, where the backup resides, and the target database cluster or server, where the backup is cloned.\u003c/p\u003e\n"],["\u003cp\u003eSupported backup and restore combinations include cloning to Kubernetes or a single server, using either Cloud Storage or local backups.\u003c/p\u003e\n"]]],[],null,["# Clone a database cluster from a Kubernetes backup overview\n\nSelect a documentation version: 15.7.1keyboard_arrow_down\n\n- [Current (16.8.0)](/alloydb/omni/current/docs/kubernetes-dr-backup-overview)\n- [16.8.0](/alloydb/omni/16.8.0/docs/kubernetes-dr-backup-overview)\n- [16.3.0](/alloydb/omni/16.3.0/docs/kubernetes-dr-backup-overview)\n- [15.12.0](/alloydb/omni/15.12.0/docs/kubernetes-dr-backup-overview)\n- [15.7.1](/alloydb/omni/15.7.1/docs/kubernetes-dr-backup-overview)\n- [15.7.0](/alloydb/omni/15.7.0/docs/kubernetes-dr-backup-overview)\n- [15.5.5](/alloydb/omni/15.5.5/docs/kubernetes-dr-backup-overview)\n- [15.5.4](/alloydb/omni/15.5.4/docs/kubernetes-dr-backup-overview)\n- [15.5.2](/alloydb/omni/15.5.2/docs/kubernetes-dr-backup-overview)\n\n\u003cbr /\u003e\n\nThis page provides an overview of cloning the backup of your AlloyDB Omni database cluster in a standalone server environment or in a Kubernetes environment for the purposes of disaster recovery.\n\n\u003cbr /\u003e\n\nWhen you clone your database cluster, only the data from the primary instance of\nthe source database cluster is cloned to the primary instance of the target\ndatabase cluster or server.\n\nTo take a backup of your AlloyDB Omni database\ncluster, you configure the backup location in the\n[`BackupPlan`](/alloydb/omni/15.7.1/docs/backup-kubernetes)\nresource manifest file. When you want to clone the backup, you can only clone it\nto a database cluster that is in the same Kubernetes cluster and uses the same\nnamespace as the source database cluster. For more information about creating a\nbackup, see [Back up and restore in\nKubernetes](/alloydb/omni/15.7.1/docs/backup-kubernetes).\n\nIf you want to clone the backup to another database cluster in a\nstandalone server environment or in a different Kubernetes environment especially for disaster recovery, then you must use the `pgBackRest` configurations and\ncommands. The backup and restore method for both environments uses `pgBackRest`\nas the underlying backup and restore solution.\n\nThe following terms are used throughout the subsequent sections that explain how\nto clone a database cluster:\n\nSource database cluster\n: An AlloyDB Omni\n database cluster where the backup exists. This backup is cloned on other\n database clusters in a standalone server environment\n or a Kubernetes environment.\n\nTarget database cluster\n: A database cluster in the Kubernetes\n environment where the backup of the source database cluster is cloned.\n\nTarget server\n: A database cluster in the standalone server\n environment where the backup of the source database cluster is cloned.\n\nSupported backup and restore combinations\n-----------------------------------------\n\nBecause the backup of your AlloyDB Omni database cluster can be\nstored either locally or in a Cloud Storage bucket, the following backup and\nrestore combinations are supported:\n\n- [Clone a database cluster in Kubernetes using a Cloud Storage backup](/alloydb/omni/15.7.1/docs/kubernetes-dr-backup-k8-gcs)\n- [Clone a database cluster in Kubernetes using a local backup](/alloydb/omni/15.7.1/docs/kubernetes-dr-backup-k8-local)\n- [Clone a database cluster in a single server using a Cloud Storage backup](/alloydb/omni/15.7.1/docs/kubernetes-dr-backup-singleserver-gcs)\n- [Clone a database cluster in a single server using a local backup](/alloydb/omni/15.7.1/docs/kubernetes-dr-backup-singleserver-local)"]]