package
4.0.14+incompatible
Repository: https://github.com/hu177/br.git
Documentation: pkg.go.dev

# Functions

BuildBackupMeta constructs the backup meta file from its components.
BuildBackupRangeAndSchema gets KV range and schema of tables.
BuildTableRanges returns the key ranges encompassing the entire table, and its partitions if exists.
ChecksumMatches tests whether the "local" checksum matches the checksum from TiKV.
CollectChecksums check data integrity by xor all(sst_checksum) per table it returns the checksum of all local files.
GetBackupDDLJobs returns the ddl jobs are done in (lastBackupTS, backupTS].
NewBackupClient returns a new backup client.
OnBackupResponse checks the backup resp, decides whether to retry and generate the error.
SendBackup send backup request to the given store.

# Constants

DefaultSchemaConcurrency is the default number of the concurrent backup schema tasks.
RangeUnit represents the progress updated counter when a range finished.
RegionUnit represents the progress updated counter when a region finished.

# Structs

Checksum is the checksum of some backup files calculated by CollectChecksums.
Client is a client instructs TiKV how to do a backup.
Schemas is task for backuping schemas.

# Interfaces

ClientMgr manages connections needed by backup.

# Type aliases

ProgressUnit represents the unit of progress.