---
title: "Data source selectel_cloudbackup_plan_v2"
sidebar_label: "selectel_cloudbackup_plan_v2"
description: "Provides a list of backup plans for Selectel Backups in the Cloud"
sidebar_position: 2
---

# Data source selectel\_cloudbackup\_plan\_v2

:::info

This instruction is a copy of the Selectel Terraform provider documentation in the [Terraform Registry](https://registry.terraform.io/providers/selectel/selectel/latest/docs).

:::

Provides a list of backup plans for Selectel Backups in the Cloud. For more information about backup plans, see the [official Selectel documentation](/cloud-servers/backups/about-backups/).

## Usage Example \{#example-usage}

```hcl
data "selectel_cloudbackup_plan_v2" "plan_1" {
  project_id = selectel_vpc_project_v2.project_1.id
  region     = "ru-3"
  filter {
    name        = "my-backup-plan"
    volume_name = "my-volume"
    status      = "started"
  }
}
```

## Argument Reference \{#argument-reference}

* `project_id` - (Required) Unique identifier of the associated project. Retrieved from the [selectel\_vpc\_project\_v2](/terraform/selectel-provider-reference/resources/vpc_project_v2) resource. Learn more about [Projects](/access-control/projects/about-projects/).

* `region` - (Required) Pool where the backup plan is located, for example, `ru-3`. Learn more about available pools in the [Availability matrix](/infrastructure/product-availability-by-location/).

* `filter` - (Optional) Values for filtering backup plans.

  * `name` - (Optional) Backup plan name.

  * `volume_name` - (Optional) Volume name.

  * `status` - (Optional) Backup plan status.

## Attribute Reference \{#attributes-reference}

* `plans` - List of backup plans:

  * `list` - Plans list:

    * `id` - Unique backup plan identifier.

    * `name` - Backup plan name.

    * `description` - Backup plan description.

    * `status` - Backup plan status.

    * `backup_mode` - Backup mode.

    * `created_at` - Time when the backup plan was created.

    * `full_backups_amount` - Number of full backups.

    * `resources` - List of resources backed up according to the backup plan:

      * `id` - Unique identifier of the resource backed up according to the backup plan.

      * `name` - Resource name.

      * `type` - Resource type.

    * `schedule_pattern` - Schedule pattern for the backup plan.

    * `schedule_type` - Schedule type for the backup plan.

  * `total` - Total number of backup plans.
