RestoreSpec

(Appears on: Restore)

RestoreSpec contains the specification for a restore of a tidb cluster backup.

FieldDescription
to
TiDBAccessConfig

To is the tidb cluster that needs to restore.

backupType
BackupType

Type is the backup type for tidb cluster.

tikvGCLifeTime
string

TikvGCLifeTime is to specify the safe gc life time for restore. The time limit during which data is retained for each GC, in the format of Go Duration. When a GC happens, the current time minus this value is the safe point.

StorageProvider
StorageProvider

(Members of StorageProvider are embedded into this type.)

StorageProvider configures where and how backups should be stored.

storageClassName
string
(Optional)

The storageClassName of the persistent volume for Restore data storage. Defaults to Kubernetes default storage class.

storageSize
string

StorageSize is the request storage size for backup job

br
BRConfig

BR is the configs for BR.

tolerations
[]Kubernetes core/v1.Toleration
(Optional)

Base tolerations of restore Pods, components may add more tolerations upon this respectively

affinity
Kubernetes core/v1.Affinity
(Optional)

Affinity of restore Pods

useKMS
bool

Use KMS to decrypt the secrets

serviceAccount
string

Specify service account of restore