public sealed class ContinuousBackupConfig : IMessage<ContinuousBackupConfig>, IEquatable<ContinuousBackupConfig>, IDeepCloneable<ContinuousBackupConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta API class ContinuousBackupConfig.
ContinuousBackupConfig describes the continuous backups recovery
configurations of a cluster.
public EncryptionConfig EncryptionConfig { get; set; }
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK). When this field is
not specified, the backup will use the cluster's encryption config.
The number of days that are eligible to restore from using PITR. To support
the entire recovery window, backups and logs are retained for one day more
than the recovery window. If not set, defaults to 14 days.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eContinuousBackupConfig\u003c/code\u003e class within the Google Cloud AlloyDB v1beta API, detailing its role in managing continuous backups for a cluster.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContinuousBackupConfig\u003c/code\u003e class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows you to enable continuous backups via the \u003ccode\u003eEnabled\u003c/code\u003e property, which is a boolean, and to set the duration of the recovery window with the \u003ccode\u003eRecoveryWindowDays\u003c/code\u003e property, defaulting to 14 days if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e property allows for configuring customer-managed encryption keys (CMEK) for backups, or defaults to a standard encryption scheme if not specified.\u003c/p\u003e\n"],["\u003cp\u003eTwo versions are available for the \u003ccode\u003eContinuousBackupConfig\u003c/code\u003e class, \u003ccode\u003e1.0.0-beta09\u003c/code\u003e (latest) and \u003ccode\u003e1.0.0-beta08\u003c/code\u003e, and it's part of the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class ContinuousBackupConfig (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ContinuousBackupConfig)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.ContinuousBackupConfig) \n\n public sealed class ContinuousBackupConfig : IMessage\u003cContinuousBackupConfig\u003e, IEquatable\u003cContinuousBackupConfig\u003e, IDeepCloneable\u003cContinuousBackupConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class ContinuousBackupConfig.\n\nContinuousBackupConfig describes the continuous backups recovery\nconfigurations of a cluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ContinuousBackupConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ContinuousBackupConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ContinuousBackupConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ContinuousBackupConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ContinuousBackupConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ContinuousBackupConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ContinuousBackupConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### ContinuousBackupConfig()\n\n public ContinuousBackupConfig()\n\n### ContinuousBackupConfig(ContinuousBackupConfig)\n\n public ContinuousBackupConfig(ContinuousBackupConfig other)\n\nProperties\n----------\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nWhether ContinuousBackup is enabled.\n\n### EncryptionConfig\n\n public EncryptionConfig EncryptionConfig { get; set; }\n\nThe encryption config can be specified to encrypt the\nbackups with a customer-managed encryption key (CMEK). When this field is\nnot specified, the backup will use the cluster's encryption config.\n\n### HasEnabled\n\n public bool HasEnabled { get; }\n\nGets whether the \"enabled\" field is set\n\n### RecoveryWindowDays\n\n public int RecoveryWindowDays { get; set; }\n\nThe number of days that are eligible to restore from using PITR. To support\nthe entire recovery window, backups and logs are retained for one day more\nthan the recovery window. If not set, defaults to 14 days."]]