github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/test/testdata/backup/pitr_backuptool.yaml (about)

     1  apiVersion: dataprotection.kubeblocks.io/v1alpha1
     2  kind: BackupTool
     3  metadata:
     4    name: backup-tool-
     5  spec:
     6    image: infracreate-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/percona-xtrabackup
     7    deployKind: job
     8    type: pitr
     9    env:
    10      - name: DATA_DIR
    11        value: /var/lib/mysql
    12      - name: RECOVERY_TIME
    13        value: $KB_RECOVERY_TIME
    14    physical:
    15      restoreCommands:
    16        - |
    17          echo $RECOVERY_TIME
    18      incrementalRestoreCommands: []
    19    logical:
    20      restoreCommands:
    21        - |
    22          echo $RECOVERY_TIME
    23      incrementalRestoreCommands: []
    24    backupCommands: []
    25    incrementalBackupCommands: []