# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/gcp/gcp.gkebackup_restore_plan.dataset.md

---
title: Backup for GKE RestorePlan
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Backup for GKE RestorePlan
---

# Backup for GKE RestorePlan

Backup for GKE RestorePlan in Google Cloud is a configuration that defines how a backup of a Google Kubernetes Engine cluster should be restored. It specifies details such as the target cluster, restore scope, and policies for handling resources and namespaces. This allows users to recover workloads and cluster state from backups in a controlled and consistent way.

```
gcp.gkebackup_restore_plan
```

## Fields

| Title                | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Description |
| -------------------- | ---- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                 | core | string        |
| ancestors            | core | array<string> |
| backup_plan          | core | string        | Required. Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format: `projects/*/locations/*/backupPlans/*`.                                                                                                                                                                                                                                                                                                                                                                          |
| cluster              | core | string        | Required. Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`                                                                                                                                                                                                                                                                                                  |
| create_time          | core | timestamp     | Output only. The timestamp when this RestorePlan resource was created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| datadog_display_name | core | string        |
| description          | core | string        | Optional. User specified descriptive string for this RestorePlan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| etag                 | core | string        | Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestorePlan`, and systems are expected to put that etag in the request to `UpdateRestorePlan` or `DeleteRestorePlan` to ensure that their change will be applied to the same version of the resource. |
| labels               | core | array<string> | Optional. A set of custom labels supplied by user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| name                 | core | string        | Output only. Identifier. The full name of the RestorePlan resource. Format: `projects/*/locations/*/restorePlans/*`.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| organization_id      | core | string        |
| parent               | core | string        |
| project_id           | core | string        |
| project_number       | core | string        |
| region_id            | core | string        |
| resource_name        | core | string        |
| restore_config       | core | json          | Required. Configuration of Restores created via this RestorePlan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| state                | core | string        | Output only. State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.                                                                                                                                                                                                                                                                                                                                                                                                                            |
| state_reason         | core | string        | Output only. Human-readable description of why RestorePlan is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.                                                                                                                                                                                                                                                                                                                                      |
| tags                 | core | hstore_csv    |
| uid                  | core | string        | Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.                                                                                                                                                                                                                                                                                                                                                                                                                               |
| update_time          | core | timestamp     | Output only. The timestamp when this RestorePlan resource was last updated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| zone_id              | core | string        |