Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for YDB
  • Getting started
  • Access management
    • Overview
    • API authentication
      • Overview
        • Overview
        • Get
        • ListPaths
        • List
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
        • Delete
  • Monitoring metrics
  • Audit Trails events
  • FAQ
  • Public materials

In this article:

  • gRPC request
  • GetBackupRequest
  • Backup
  • BackupSettings
  • BackupSchedule
  • DailyBackupSchedule
  • WeeklyBackupSchedule
  • DaysOfWeekBackupSchedule
  • RecurringBackupSchedule
  1. Yandex Cloud API reference for Managed Service for YDB
  2. gRPC
  3. Backup
  4. Get

Managed Service for YDB API, gRPC: BackupService.Get

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • GetBackupRequest
  • Backup
  • BackupSettings
  • BackupSchedule
  • DailyBackupSchedule
  • WeeklyBackupSchedule
  • DaysOfWeekBackupSchedule
  • RecurringBackupSchedule

Returns the specified backup.

gRPC requestgRPC request

rpc Get (GetBackupRequest) returns (Backup)

GetBackupRequestGetBackupRequest

{
  "backup_id": "string"
}

Field

Description

backup_id

string

Required field. Required. ID of the YDB backup.

BackupBackup

{
  "id": "string",
  "name": "string",
  "folder_id": "string",
  "database_id": "string",
  "description": "string",
  "created_at": "google.protobuf.Timestamp",
  "started_at": "google.protobuf.Timestamp",
  "completed_at": "google.protobuf.Timestamp",
  "status": "Status",
  "backup_settings": {
    "name": "string",
    "description": "string",
    "backup_schedule": {
      // Includes only one of the fields `daily_backup_schedule`, `weekly_backup_schedule`, `recurring_backup_schedule`
      "daily_backup_schedule": {
        "execute_time": "google.type.TimeOfDay"
      },
      "weekly_backup_schedule": {
        "days_of_week": [
          {
            "days": [
              "DayOfWeek"
            ],
            "execute_time": "google.type.TimeOfDay"
          }
        ]
      },
      "recurring_backup_schedule": {
        "start_time": "google.protobuf.Timestamp",
        "recurrence": "string"
      },
      // end of the list of possible fields
      "next_execute_time": "google.protobuf.Timestamp"
    },
    "backup_time_to_live": "google.protobuf.Duration",
    "source_paths": [
      "string"
    ],
    "source_paths_to_exclude": [
      "string"
    ],
    "type": "Type",
    "storage_class": "StorageClass"
  },
  "type": "Type",
  "size": "int64"
}

Field

Description

id

string

name

string

human readable backup name.

folder_id

string

database_id

string

description

string

description of backup.

created_at

google.protobuf.Timestamp

started_at

google.protobuf.Timestamp

indicates when backup started.

completed_at

google.protobuf.Timestamp

indicates when backup completed.

status

enum Status

  • STATUS_UNSPECIFIED
  • CREATING
  • READY
  • ERROR
  • CANCELLED

backup_settings

BackupSettings

settings used to make backup.

type

enum Type

  • TYPE_UNSPECIFIED
  • SYSTEM: indicates that backup started by the system.
  • USER

size

int64

size of backup in bytes.

BackupSettingsBackupSettings

Field

Description

name

string

name of backup settings

description

string

human readable description.

backup_schedule

BackupSchedule

provide schedule. if empty, backup will be disabled.

backup_time_to_live

google.protobuf.Duration

provide time to live of backup.

source_paths[]

string

provide a list of source paths. Each path can be directory, table or even database itself.
Each directory (or database) will be traversed recursively and all childs of directory will be included to backup.
By default, backup will be created for full database.

source_paths_to_exclude[]

string

provide a list of paths to exclude from backup.
Each path is a directory, table, or database.
Each directory (or database) will be traversed recursively and all childs of directory will be excluded.

type

enum Type

  • TYPE_UNSPECIFIED
  • SYSTEM
  • USER

storage_class

enum StorageClass

  • STORAGE_CLASS_UNSPECIFIED
  • STANDARD
  • REDUCED_REDUNDANCY
  • STANDARD_IA
  • ONEZONE_IA
  • INTELLIGENT_TIERING
  • GLACIER
  • DEEP_ARCHIVE
  • OUTPOSTS

BackupScheduleBackupSchedule

Field

Description

daily_backup_schedule

DailyBackupSchedule

Includes only one of the fields daily_backup_schedule, weekly_backup_schedule, recurring_backup_schedule.

weekly_backup_schedule

WeeklyBackupSchedule

Includes only one of the fields daily_backup_schedule, weekly_backup_schedule, recurring_backup_schedule.

recurring_backup_schedule

RecurringBackupSchedule

Includes only one of the fields daily_backup_schedule, weekly_backup_schedule, recurring_backup_schedule.

next_execute_time

google.protobuf.Timestamp

output only field: when next backup will be executed
using provided schedule.

DailyBackupScheduleDailyBackupSchedule

Field

Description

execute_time

google.type.TimeOfDay

Required field.

WeeklyBackupScheduleWeeklyBackupSchedule

Field

Description

days_of_week[]

DaysOfWeekBackupSchedule

DaysOfWeekBackupScheduleDaysOfWeekBackupSchedule

Field

Description

days[]

enum DayOfWeek

  • DAY_OF_WEEK_UNSPECIFIED: The unspecified day-of-week.
  • MONDAY: The day-of-week of Monday.
  • TUESDAY: The day-of-week of Tuesday.
  • WEDNESDAY: The day-of-week of Wednesday.
  • THURSDAY: The day-of-week of Thursday.
  • FRIDAY: The day-of-week of Friday.
  • SATURDAY: The day-of-week of Saturday.
  • SUNDAY: The day-of-week of Sunday.

execute_time

google.type.TimeOfDay

Required field.

RecurringBackupScheduleRecurringBackupSchedule

Field

Description

start_time

google.protobuf.Timestamp

Required field. Timestamp of the first recurrence.

recurrence

string

Required field. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
this backup reccurs.
The FREQ values of MINUTELY, and SECONDLY are not supported.

Was the article helpful?

Previous
Overview
Next
ListPaths
© 2025 Direct Cursus Technology L.L.C.