Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Backup
    • Все инструкции
    • Активировать сервис
    • Посмотреть операции с ресурсами сервиса
    • Ограничить использование оперативной памяти агентом Cloud Backup
    • Посмотреть статистику резервного копирования
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • List
        • ListArchives
        • ListFiles
        • Get
        • StartRecovery
        • StartFilesRecovery
        • Delete
        • DeleteArchive
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • История изменений
  • Решение проблем

В этой статье:

  • gRPC request
  • ListBackupsRequest
  • ArchiveParameters
  • InstancePolicy
  • BackupParameters
  • ListBackupsResponse
  • Backup
  • BackupAttributes
  • Disk
  • Volume
  1. Справочник API
  2. gRPC (англ.)
  3. Backup
  4. List

Cloud Backup API, gRPC: BackupService.List

Статья создана
Yandex Cloud
Обновлена 2 сентября 2025 г.
  • gRPC request
  • ListBackupsRequest
  • ArchiveParameters
  • InstancePolicy
  • BackupParameters
  • ListBackupsResponse
  • Backup
  • BackupAttributes
  • Disk
  • Volume

List backups using filters.

gRPC requestgRPC request

rpc List (ListBackupsRequest) returns (ListBackupsResponse)

ListBackupsRequestListBackupsRequest

{
  // Includes only one of the fields `compute_instance_id`, `archive`, `folder_id`, `instance_policy`, `resource_id`, `policy_id`, `backup`
  "compute_instance_id": "string",
  "archive": {
    "archive_id": "string",
    "folder_id": "string"
  },
  "folder_id": "string",
  "instance_policy": {
    "compute_instance_id": "string",
    "policy_id": "string"
  },
  "resource_id": "string",
  "policy_id": "string",
  "backup": {
    "backup_id": "string",
    "folder_id": "string"
  },
  // end of the list of possible fields
  "order_by": "string",
  "filter": "string",
  "type": "ResourceType",
  "page_size": "int64",
  "page_token": "string"
}

Field

Description

compute_instance_id

string

List backups that belongs to specific Compute Cloud instance.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

archive

ArchiveParameters

List backups that belongs to specific archive of specific folder.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

folder_id

string

List backups that belongs to specific folder.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

instance_policy

InstancePolicy

List backups that belongs to specific instance and policy at the same time.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

resource_id

string

List backups by specific resource ID.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

policy_id

string

List backups by specific policy ID.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

backup

BackupParameters

List backups by specific backup ID.

Includes only one of the fields compute_instance_id, archive, folder_id, instance_policy, resource_id, policy_id, backup.

order_by

string

By which column the listing should be ordered and in which direction,
format is "createdAt desc". "createdAt desc" if omitted.

filter

string

Filter list by various parameters.
Supported parameters are:

  • created_at

Supported logic operators:

  • AND

type

enum ResourceType

Type of resource. Could be compute VM or baremetal server.

  • RESOURCE_TYPE_UNSPECIFIED
  • COMPUTE: Resource is Compute Cloud VM
  • BMS: Resource is baremetal server
  • EXTERNAL_VM: Resource is VM
  • EXTERNAL_SERVER: Resource is server

page_size

int64

Number of results per page.

page_token

string

Token for the results page. Not allowed to use if listing is performed by specific policy ID.

ArchiveParametersArchiveParameters

Field

Description

archive_id

string

Required field. Archive ID.

folder_id

string

Required field. Folder ID.

InstancePolicyInstancePolicy

Field

Description

compute_instance_id

string

Compute Cloud instance ID.

policy_id

string

Policy ID.

BackupParametersBackupParameters

Field

Description

backup_id

string

Required field.

folder_id

string

Required field.

ListBackupsResponseListBackupsResponse

{
  "backups": [
    {
      "id": "string",
      "vault_id": "string",
      "archive_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "last_seen_at": "google.protobuf.Timestamp",
      "size": "int64",
      "deduplicated_size": "int64",
      "backed_up_data_size": "int64",
      "original_data_size": "int64",
      "attributes": {
        "stream_name": "string",
        "uri": "string"
      },
      "compute_instance_id": "string",
      "disks": [
        {
          "device_model": "string",
          "name": "string",
          "size": "int64",
          "volumes": [
            {
              "free_space": "int64",
              "is_bootable": "bool",
              "is_system": "bool",
              "name": "string",
              "size": "int64",
              "mount_strid": "string"
            }
          ]
        }
      ],
      "type": "Type",
      "deleted": "bool",
      "policy_id": "string",
      "resource_id": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

backups[]

Backup

next_page_token

string

Token for the next results page.

BackupBackup

Field

Description

id

string

ID of the backup.

vault_id

string

ID of the backup vault.

archive_id

string

ID of the backup archive.

created_at

google.protobuf.Timestamp

last_seen_at

google.protobuf.Timestamp

size

int64

Backup size.

deduplicated_size

int64

Deduplicated backup size.

backed_up_data_size

int64

Backed up data size.

original_data_size

int64

Original data size.

attributes

BackupAttributes

compute_instance_id

string

Compute Cloud instance ID.

disks[]

Disk

type

enum Type

  • TYPE_UNSPECIFIED
  • FULL
  • INCREMENTAL

deleted

bool

If this field is true, it means that the backup was deleted.

policy_id

string

Policy ID.

resource_id

string

Resource ID. It identifies Compute Cloud instance in backup service.

BackupAttributesBackupAttributes

Backup attributes.

Field

Description

stream_name

string

Backup stream name.

uri

string

URI of the backup archive.

DiskDisk

Field

Description

device_model

string

Device model.

name

string

Disk name.

size

int64

Disk size.

volumes[]

Volume

VolumeVolume

Field

Description

free_space

int64

Free space in the volume.

is_bootable

bool

If this field is true, it means that the volume is bootable.

is_system

bool

If this field is true, it means that the volume is a system volume.

name

string

Volume name.

size

int64

Volume size.

mount_strid

string

Mount string ID.

Была ли статья полезна?

Предыдущая
Overview
Следующая
ListArchives
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»