MongoDB.local SF, Jan 15: See the speaker lineup & ship your AI vision faster. Use WEB50 to save 50%
Find out more >
Docs Menu
Docs Home
/ /
/ / /

AtlasBackupCompliancePolicy 사용자 지정 리소스

AtlasBackupCompliancePolicy 사용자 지정 리소스 백업 데이터를 보호하기 위해 사용자 지정 리소스 에 적용되는 백업AtlasProject 컴플라이언스 정책 을 구성합니다. AtlasBackupCompliancePolicy 사용자 지정 리소스 를 생성하면 Atlas Kubernetes Operator 가 백업 컴플라이언스 정책을 생성하거나 업데이트 하려고 시도합니다.

Atlas Kubernetes Operator 는 Atlas Backup 컴플라이언스 정책 API 리소스를 사용하여 다음 작업 중 하나를 수행합니다.

  • 새 백업 컴플라이언스 정책을 생성합니다.

  • 기존 백업 컴플라이언스 정책을 업데이트합니다.

중요

금지된 작업고려 사항 을 참조하세요. 백업 규정 준수 정책은 프로젝트 의 모든 클러스터에 최소 백업 정책으로 적용됩니다. 백업 컴플라이언스 정책은 모든 기존 스냅샷을 보호합니다. 백업 컴플라이언스 정책은 역할 에 관계없이 모든 사용자가 만료되기 전에 기존 스냅샷을 수정하거나 삭제할 수 없도록 합니다. 이 백업 컴플라이언스 정책의 변경 사항은 향후 스냅샷에만 적용 됩니다. 백업 컴플라이언스 정책을 활성화 하면 백업 컴플라이언스 정책으로 인해 백업 저장 비용을 줄일 수 기능 이 제한됩니다. 백업 저장 비용을 줄이기 위해 보존 기간을 조정하거나 백업 을 삭제 수 없습니다.

다음 예시 는 BackupCompliancePolicy 사용자 지정 리소스 를 보여줍니다. 학습 내용 은 백업 컴플라이언스 정책 구성을 참조하세요.

apiVersion: atlas.mongodb.com/v1
kind: AtlasBackupCompliancePolicy
metadata:
name: my-backup-compliance-policy
namespace: mongodb-atlas-system
spec:
authorizedEmail: john.doe@example.com
authorizedUserFirstName: John
authorizedUserLastName: Doe
copyProtectionEnabled: false
encryptionAtRestEnabled: false
onDemandPolicy:
retentionUnit: weeks
retentionValue: 3
overwriteBackupPolicies: false
pointInTimeEnabled: true
restoreWindowDays: 42
scheduledPolicyItems:
- frequencyInterval: 2
frequencyType: daily
retentionUnit: days
retentionValue: 7

The AtlasBackupCompliancePolicy is a configuration that enforces specific backup and retention requirements

Name
유형
설명
필수 사항

apiVersion

문자열

atlas.mongodb.com/v1

true

kind

문자열

AtlasBackupCompliancePolicy

true

metadata

객체

metadata 필드 의 필드에 대해서는 Kubernetes API 설명서를 참조하세요.

true

spec

객체

AtlasBackupCompliancePolicySpec is the specification of the desired backup compliance policy configuration.

거짓

status

객체

BackupCompliancePolicyStatus defines the observed state of AtlasBackupCompliancePolicy.

거짓

AtlasBackupCompliancePolicySpec is the specification of the desired backup compliance policy configuration.

Name
유형
설명
필수 사항

authorizedEmail

문자열

Email address of the user authorized to update Backup Compliance Policy settings.

true

authorizedUserFirstName

문자열

First name of the user authorized to update the Backup Compliance Policy settings.

true

authorizedUserLastName

문자열

Last name of the user authorized to update the Backup Compliance Policy settings.

true

copyProtectionEnabled

부울

Flag that indicates whether to prevent cluster users from deleting backups copied to other regions, even if those additional snapshot regions are removed.

거짓

encryptionAtRestEnabled

부울

Flag that indicates whether to require Encryption at Rest using Customer Key Management for all clusters with a Backup Compliance Policy.

거짓

onDemandPolicy

객체

온디맨드 정책에 대한 사양.

거짓

overwriteBackupPolicies

부울

Flag that indicates whether to overwrite non-complying backup policies with the new data protection settings.

거짓

pointInTimeEnabled

부울

Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy.

거짓

restoreWindowDays

integer

Number of previous days from which you can restore with Continuous Cloud Backup with a Backup Compliance Policy. This parameter applies only to Continuous Cloud Backups with a Backup Compliance Policy.

거짓

scheduledPolicyItems

[] 객체

예약된 하나의 정책에 대한 사양이 포함된 목록.

거짓

온디맨드 정책에 대한 사양.

Name
유형
설명
필수 사항

retentionUnit

열거형

Scope of the backup policy item: days, weeks, or months. Enum: days, weeks, months

true

retentionValue

integer

Value to associate with RetentionUnit.

true

Name
유형
설명
필수 사항

frequencyInterval

integer

Frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. You can set FrequencyInterval only to 12 for NVMe clusters. Enum: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 40

true

frequencyType

열거형

Frequency associated with the backup policy item. You can specify only one each of hourly or daily backup policy items. Enum: hourly, daily, weekly, monthly, yearly

true

retentionUnit

열거형

Unit of time in which MongoDB Atlas measures snapshot retention. Enum: days, weeks, months, years

true

retentionValue

integer

Duration in days, weeks, months, or years that MongoDB Cloud retains the snapshot. For less frequent policy items, MongoDB Cloud requires that you specify a value greater than or equal to the value specified for more frequent policy items.

true

BackupCompliancePolicyStatus defines the observed state of AtlasBackupCompliancePolicy.

Name
유형
설명
필수 사항

conditions

[] 객체

조건은 Atlas Custom Resource(사용자 지정 리소스)의 현재 상태 보여주는 상태 목록입니다.

true

observedGeneration

integer

ObservedGeneration Atlas Operator가 인식하는 리소스 사양의 생성을 나타냅니다. Atlas Operator는 리소스 조정을 시작하는 즉시 이 필드 ' 메타데이터 .generation' 값으로 업데이트합니다. 형식: int64

거짓

조건은 특정 점 의 Atlas Custom Resource(사용자 지정 리소스) 상태 를 설명합니다.

Name
유형
설명
필수 사항

status

문자열

조건의 상태입니다. 참, 거짓, 알 수 없음 중 하나입니다.

true

type

문자열

Atlas Custom Resource(사용자 지정 리소스) 조건 유형입니다.

true

lastTransitionTime

문자열

마지막으로 조건이 한 상태에서 다른 상태로 전환된 시간입니다. 형식으로 ISO 8601 표시됩니다. 형식: 날짜-시간

거짓

message

문자열

전환에 대한 세부 정보를 제공하는 message 입니다.

거짓

reason

문자열

조건의 마지막 전환에 대한 reason 입니다.

거짓

돌아가기

AtlasTirdPartyIntegration

이 페이지의 내용