package backup

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Backup

brpb.proto:641

service ExternalStorage

brpb.proto:664

ExternalStorage is a service for using a cloud backend from StorageBackend to store files. This can be used to backup and restore SST files.

message AzureBlobStorage

brpb.proto:522

AzureBlobStorage storage backend saves files into azure blob storage.

Used in: StorageBackend

message AzureCustomerKey

brpb.proto:514

The encryption algorithm must be AES256.

Used in: AzureBlobStorage

message BackupMeta

brpb.proto:65

The message save the metadata of a backup.

enum BackupMode

brpb.proto:328

BackupMpde represents the mode of this whole backup request to the cluster. and we need to store it in `backupmeta`.

Used in: BackupMeta, BackupRequest

message BackupRange

brpb.proto:148

Used in: BackupMeta, MetaFile

message Bucket

brpb.proto:576

Used in: CloudDynamic

message CipherInfo

brpb.proto:339

Used in: BackupRequest, StreamBackupTaskSecurityConfig, import_sstpb.ApplyRequest, import_sstpb.DownloadRequest

message CloudDynamic

brpb.proto:585

CloudDynamic allows testing new cloud providers and new fields without changing protobuf definitions

Used in: StorageBackend

message ClusterIDError

brpb.proto:295

Used in: Error

enum CompressionType

brpb.proto:311

sst files or log files compression algorithm for log files, unknown means not use compression algorithm

Used in: BackupRequest, DataFileInfo, StreamBackupTaskInfo, import_sstpb.KVMeta

message DataFileGroup

brpb.proto:710

DataFileGroup is the merged file info in log-backup

Used in: Metadata

message DataFileInfo

brpb.proto:732

Used in: DataFileGroup, Metadata

message DeleteSpansOfFile

brpb.proto:983

An extended version of `SpansOfFile`, added more metadata for the execution of delayed deletion.

Used in: MetaEdit

message Error

brpb.proto:300

Used in: BackupResponse, CheckAdminResponse, CleanupResponse, PrepareResponse

message File

brpb.proto:164

Used in: BackupMeta, BackupRange, BackupResponse, IngestedSSTs, LogFileSubcompaction, MetaFile

enum FileType

brpb.proto:704

Used in: DataFileInfo, LogFileSubcompactionMeta

message GCS

brpb.proto:498

GCS storage backend saves files into google cloud storage.

Used in: StorageBackend

message HDFS

brpb.proto:592

HDFS storage backend saves file into HDFS compatible storages

Used in: StorageBackend

message IDMap

brpb.proto:265

Used in: PitrDBMap, PitrTableMap

message IngestedSSTs

brpb.proto:953

IngestedSSTs is created by a client that wants to put data to the cluster by `Ingest` APIs, these write cannot be directly recorded by log backup. The client should put a migration that contains the SSTs it uploaded.

message Local

brpb.proto:470

Local storage backend saves files into local disk

Used in: StorageBackend

message LogFileCompaction

brpb.proto:882

Used in: Migration

message LogFileSubcompaction

brpb.proto:854

A subcompaction from a compaction. Subcompactions are actions that collect then sort key values from one region.

Used in: LogFileSubcompactions

message LogFileSubcompactionMeta

brpb.proto:826

Used in: LogFileSubcompaction

message LogFileSubcompactions

brpb.proto:878

Batched version of `LogFileSubcompaction`. So we can store many subcompactions to one file, to reduce the number of file.

message MasterKeyConfig

brpb.proto:344

Used in: StreamBackupTaskSecurityConfig

message MetaEdit

brpb.proto:919

Used in: Migration

message MetaFile

brpb.proto:191

MetaFile describes a multi-level index of data used in backup.

Used in: BackupMeta

enum MetaVersion

brpb.proto:688

Used in: Metadata

message Metadata

brpb.proto:693

message Migration

brpb.proto:1001

enum MigrationVersion

brpb.proto:992

Used in: Migration

message Noop

brpb.proto:467

Noop storage backend saves files into void.

Used in: StorageBackend

(message has no fields)

message PitrDBMap

brpb.proto:278

Used in: BackupMeta

message PitrTableMap

brpb.proto:270

Used in: PitrDBMap

message PlacementPolicy

brpb.proto:207

Used in: BackupMeta

enum PrepareSnapshotBackupEventType

brpb.proto:44

Used in: PrepareSnapshotBackupResponse

enum PrepareSnapshotBackupRequestType

brpb.proto:20

Used in: PrepareSnapshotBackupRequest

message RawRange

brpb.proto:289

Used in: BackupMeta, MetaFile

message RegionMetaHint

brpb.proto:864

You may get region id from `LogFileSubcompactionMeta`.

Used in: LogFileSubcompaction

message RewrittenTableID

brpb.proto:943

RewrittenTableID records a sort of modification over the SSTs during restoring. When "backing up" this "restored" SST, we want to backup the original SST before any rewrite. But in some cases, SSTs are not restored "as is", TiKV may rewrite or truncate its content by the client's request.

Used in: IngestedSSTs

message S3

brpb.proto:476

S3 storage backend saves files into S3 compatible storages For non-aws providers, endpoint must be provided

Used in: StorageBackend

message Schema

brpb.proto:239

Used in: BackupMeta, MetaFile

message SortedSubRanges

brpb.proto:349

Used in: BackupRequest

message Span

brpb.proto:816

Used in: DeleteSpansOfFile, SpansOfFile

message SpansOfFile

brpb.proto:821

Used in: LogFileSubcompactionMeta

message StatsBlock

brpb.proto:211

Used in: StatsFile

message StatsFile

brpb.proto:219

message StatsFileIndex

brpb.proto:224

Used in: Schema

message StorageBackend

brpb.proto:454

Used in: BackupRequest, ExternalStorageRestoreRequest, ExternalStorageSaveRequest, StreamBackupTaskInfo, import_sstpb.ApplyRequest, import_sstpb.DownloadRequest

message StreamBackupError

brpb.proto:805

message StreamBackupTaskInfo

brpb.proto:415

message StreamBackupTaskSecurityConfig

brpb.proto:318

Used in: StreamBackupTaskInfo

message TableMeta

brpb.proto:156

The message saves the physical table checksum

Used in: File