AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

Atlas cluster 백업

참고

다음 배포에서는 이 기능 사용할 수 없습니다.

  • M0 클러스터

  • M2/M5 클러스터

  • Flex 클러스터

참고

Atlas M2 및 M5 클러스터와 서버리스 인스턴스를 더 이상 사용하지 않습니다. 2025 1월부터 Atlas 모든 M2 및 M5 클러스터를 Flex 클러스터로 마이그레이션했습니다. 서버리스 인스턴스의 경우, Atlas 사용량에 따라 인스턴스를 무료 클러스터, Flex 클러스터 또는 전용 클러스터로 마이그레이션 할지 여부를 결정한 다음 모든 서버리스 인스턴스를 자동으로 마이그레이션합니다.

22, 2026 1월부터 M2, M5 및 서버리스 인스턴스에 대한 지원 종료되었습니다. 더 이상 사용되지 않는 이러한 클러스터 유형과 관련된 API는 더 이상 사용할 수 없으며 Flex 클러스터용 API만 남아 있습니다.

3월 2025부터 서버리스 인스턴스의 비공개 엔드포인트 는 더 이상 지원되지 않습니다. Atlas Kubernetes Operator 구성에서 M2, M5 및 서버리스 인스턴스 기능을 모두 제거합니다.

If your workloads require Private Endpoints or Continuous Backup, switch to Atlas Dedicated Clusters. To learn more, see Migration to Flex Clusters and the Atlas Flex Migration Guide.

Atlas Kubernetes Operator supports cloud backup for your Atlas clusters. Cloud backup uses the native snapshot capabilities of your cloud provider to support full-copy snapshots and localized snapshot storage.

Atlas Kubernetes Operator로 클라우드 백업을 관리하려면 다음과 같은 사용자 지정 리소스를 지정하고 업데이트할 수 있습니다.

사용자 지정 리소스
목적

백업 빈도와 스냅샷 보존 기간을 포함한 백업 정책을 정의합니다.

Atlas가 데이터베이스 배포를 백업하는 시간, 복원할 수 있는 과거 일수, 백업 정책을 포함한 백업 일정을 정의합니다.

클러스터 의 특성을 정의합니다. 클러스터에 대한 cloud 백업을 활성화하려면 backupRef.name 필드를 구성된 백업 예정의 이름으로 설정해야 합니다.

또한 연속 백업 구성하려면 pitEnabled 를 true로 설정해야 합니다.

지원되는 사용자 지정 리소스를 변경할 때마다 Atlas Kubernetes Operator 가 해당 Atlas 구성을 만들거나 업데이트 합니다.

다음 고려 사항을 검토합니다.

  • 백업 일정당 하나의 백업 정책을 지정할 수 있습니다.

  • 백업 일정은 cluster당 하나씩 지정할 수 있지만 여러 cluster에 동일한 백업 일정을 사용할 수 있습니다.

  • Atlas determines the order of nodes to snapshot based on your cluster configuration. To learn more, see Cloud Backups.

  • Atlas Kubernetes Operator supports automatic snapshot distribution. You can configure this with the spec.copySetting field in the AtlasBackupSchedule Custom Resource.

참고

If you have a Backup Compliance Policy enabled, you can't modify the backup policy for an individual cluster below the minimum requirements set in the Backup Compliance Policy. You can modify the cluster-level backup policy at any time. Atlas augments any preexisting cluster-level policies to meet the minimum requirements of the Backup Compliance Policy. All new clusters use the Backup Compliance Policy. If you reduce the frequency of a backup schedule, the change applies only to future backups. Any existing oplog remains for the original window. The minimum requirements of the Backup Compliance Policy apply. You can configure extra snapshot retention. You can also view backup details for all M10+ dedicated clusters including deleted clusters with retained snapshots. To learn more, see View Backup Details for Dedicated Clusters.

Certain limitations apply to cloud backup. To learn more, see Back Up Your Cluster.

Atlas Kubernetes Operator managed cluster에 대한 cloud 백업을 활성화하려면 다음을 수행해야 합니다.

Atlas Kubernetes Operator 관리형 클러스터에 대해 클라우드 백업을 활성화하려면 다음 단계를 따르세요.

1

백업 정책의 매개변수에 대해 자세히 알아보려면 AtlasBackupPolicy 사용자 지정 리소스를 참조하세요.

예시:

cat <<EOF | kubectl apply -f -
apiVersion: atlas.mongodb.com/v1
kind: AtlasBackupPolicy
metadata:
name: "atlas-default-backuppolicy"
spec:
items:
frequencyType: "weekly"
frequencyInterval: 1
retentionUnit: "days"
retentionValue: 7
EOF
2

spec.policy.name 필드에 AtlasBackupPolicy Custom Resource (사용자 지정 리소스)의 metadata.name 를 지정하여 백업 정책을 적용.

백업 일정의 다른 매개변수에 대해 자세히 알아보려면 AtlasBackupSchedule 사용자 지정 리소스를 참조하세요.

예시:

cat <<EOF | kubectl apply -f -
apiVersion: atlas.mongodb.com/v1
kind: AtlasBackupSchedule
metadata:
name: "atlas-default-backupschedule"
spec:
autoExportEnabled: true
copySettings:
- cloudProvider: AWS
frequencies:
- HOURLY
regionName: US_EAST_1
shouldCopyOplogs: true
referenceHourOfDay: 10
referenceMinuteOfHour: 10
restoreWindowDays: 2
policy:
name: atlas-default-backuppolicy
namespace: mongodb-atlas-system
EOF
3

AtlasDeployment Custom Resource(사용자 지정 리소스)의 spec.backupRef.name 필드에서 Custom Resource(사용자 metadata.name AtlasBackupSchedule 지정 리소스)의 을(를) 지정하여 클러스터에 백업 예정 적용.

예시:

cat <<EOF | kubectl apply -f -
apiVersion: atlas.mongodb.com/v1
kind: AtlasDeployment
metadata:
name: my-atlas-cluster
spec:
backupRef:
name: atlas-default-backupschedule
namespace: mongodb-atlas-system
EOF