tidb-operator/examples/backup/restore-local.yaml

28 lines
560 B
YAML

apiVersion: pingcap.com/v1alpha1
kind: Restore
metadata:
name: basic-restore-local
namespace: default
spec:
# backupType: full
br:
cluster: basic
clusterNamespace: default
# logLevel: info
# statusAddr: ${status-addr}
# concurrency: 4
# rateLimit: 0
# checksum: true
# sendCredToTikv: true
# options:
# - --lastbackupts=420134118382108673
local:
volume:
name: xhostpath
hostPath:
path: /home
type: DirectoryOrCreate
volumeMount:
name: xhostpath
mountPath: /data