Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7.0执行全量备份报错 #51

Open
617450941 opened this issue Sep 27, 2024 · 0 comments
Open

1.7.0执行全量备份报错 #51

617450941 opened this issue Sep 27, 2024 · 0 comments

Comments

@617450941
Copy link

Error from server (Forbidden): error when creating "pxc-backup.yaml": admission webhook "polardbxbackup-validate.polardbx.aliyun.com" denied the request: spec.storageProvider: Invalid value: polardbx.BackupStorageProvider{StorageName:"s3", Sink:"lyfz-polardbx-backup"}: invalid storage, please check configuration of both backup and hpfs 提示这个

备份配置如下

apiVersion: polardbx.aliyun.com/v1
kind: PolarDBXBackup
metadata:
  name: lyfz-polardbx-pxcbackup
  namespace: polardbx
spec:
  cluster:
    name: lyfz-polardbx
  retentionTime: 240h
  storageProvider:
    storageName: s3
    sink: lyfz-polardbx-backup
  preferredBackupRole: follower

存储配置如下

sinks:
   - name: lyfz-polardbx-backup
     type: s3
     endpoint: xxxxxx
     accessKey: xxxx
     accessSecret: xxxxxx
     bucket: lyfz-polardbx-backup
     useSSL: false
   - accessKey: xxx
     accessSecret: xxxxx
     bucket: xxx
     endpoint: xxx
     name: default
     type: oss
   - host: xxxxx
     name: default
     password: xxxx
     port: 22
     rootPath: /xxx
     type: sftp
     user: admin
backupBinlogConfig:
  rootDirectories:
    - /data/xstore
    - /data-log/xstore
cGroupControlConfig:
  cpu_set_strategy: auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant