vitess-operator icon indicating copy to clipboard operation
vitess-operator copied to clipboard

missing backup args for vtctld

Open L3o-pold opened this issue 3 years ago • 2 comments

Following the discussion on Slack https://vitess.slack.com/archives/C0PQY0PTK/p1635093608043400.

vtctld is clearly missing the backup parameters like --s3_backup_aws_endpoint=s3.endpoint.com.

L3o-pold avatar Feb 02 '22 14:02 L3o-pold

Full set of flags needed for s3:

      --backup_storage_implementation=s3
      --s3_backup_aws_endpoint=s3.endpoint.com
      --s3_backup_aws_region=eu-central-003
      --s3_backup_storage_bucket=fake-bucket-name
      --s3_backup_storage_root=vt

There are similar flags for gcs

deepthi avatar Sep 16 '22 16:09 deepthi

You'll also need to update following s3 credential files settings manually if you've configured in the backup > locations > authSecret section.

  • extraVolumes
  • extraVolumeMounts
  • extraEnv (mainly for AWS_SHARED_CREDENTIALS_FILE)

have to be manually patched via CRD yaml for letting vtctld backup related commands working.

tokikanno avatar Sep 17 '22 13:09 tokikanno

Any progress or thoughts on this?

voarsh2 avatar Nov 13 '23 19:11 voarsh2

Hey @L3o-pold are you still experiencing this issue?

frouioui avatar Jan 10 '24 22:01 frouioui

@frouioui the s3_backup_aws_endpoint flag seems available on vtctld now

L3o-pold avatar Jan 10 '24 23:01 L3o-pold