# Backup

## Properties

| Name                           | Type                                                                                                                 | Description                                                                         | Notes       |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------- |
| **ClusterId**                  | Pointer to **string**                                                                                                | The unique ID of the cluster that was backed up.                                    | \[optional] |
| **EarliestRecoveryTargetTime** | Pointer to [**time.Time**](https://github.com/ionos-cloud/sdk-go-dbaas-mariadb/blob/master/docs/models/time.Time.md) | The oldest available timestamp to which you can restore.                            | \[optional] |
| **Size**                       | Pointer to **int32**                                                                                                 | Size of all base backups in MiB. This is at least the sum of all base backup sizes. | \[optional] |
| **BaseBackups**                | Pointer to [**\[\]BaseBackup**](/mariadb-sdk-golang/models/basebackup.md)                                            |                                                                                     | \[optional] |

## Methods

### NewBackup

`func NewBackup() *Backup`

NewBackup instantiates a new Backup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

### NewBackupWithDefaults

`func NewBackupWithDefaults() *Backup`

NewBackupWithDefaults instantiates a new Backup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

### GetClusterId

`func (o *Backup) GetClusterId() string`

GetClusterId returns the ClusterId field if non-nil, zero value otherwise.

### GetClusterIdOk

`func (o *Backup) GetClusterIdOk() (*string, bool)`

GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetClusterId

`func (o *Backup) SetClusterId(v string)`

SetClusterId sets ClusterId field to given value.

### HasClusterId

`func (o *Backup) HasClusterId() bool`

HasClusterId returns a boolean if a field has been set.

### GetEarliestRecoveryTargetTime

`func (o *Backup) GetEarliestRecoveryTargetTime() time.Time`

GetEarliestRecoveryTargetTime returns the EarliestRecoveryTargetTime field if non-nil, zero value otherwise.

### GetEarliestRecoveryTargetTimeOk

`func (o *Backup) GetEarliestRecoveryTargetTimeOk() (*time.Time, bool)`

GetEarliestRecoveryTargetTimeOk returns a tuple with the EarliestRecoveryTargetTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetEarliestRecoveryTargetTime

`func (o *Backup) SetEarliestRecoveryTargetTime(v time.Time)`

SetEarliestRecoveryTargetTime sets EarliestRecoveryTargetTime field to given value.

### HasEarliestRecoveryTargetTime

`func (o *Backup) HasEarliestRecoveryTargetTime() bool`

HasEarliestRecoveryTargetTime returns a boolean if a field has been set.

### GetSize

`func (o *Backup) GetSize() int32`

GetSize returns the Size field if non-nil, zero value otherwise.

### GetSizeOk

`func (o *Backup) GetSizeOk() (*int32, bool)`

GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetSize

`func (o *Backup) SetSize(v int32)`

SetSize sets Size field to given value.

### HasSize

`func (o *Backup) HasSize() bool`

HasSize returns a boolean if a field has been set.

### GetBaseBackups

`func (o *Backup) GetBaseBackups() []BaseBackup`

GetBaseBackups returns the BaseBackups field if non-nil, zero value otherwise.

### GetBaseBackupsOk

`func (o *Backup) GetBaseBackupsOk() (*[]BaseBackup, bool)`

GetBaseBackupsOk returns a tuple with the BaseBackups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetBaseBackups

`func (o *Backup) SetBaseBackups(v []BaseBackup)`

SetBaseBackups sets BaseBackups field to given value.

### HasBaseBackups

`func (o *Backup) HasBaseBackups() bool`

HasBaseBackups returns a boolean if a field has been set.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/mariadb-sdk-golang/models/backup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
