MySQL Enterprise Backup User's Guide (Version 3.12.5)
These options are for using cloud storage for single-file operations. See Section 4.3.5.3, “Backing Up to Cloud Storage”, and Section 5.2.6, “Restoring a Backup from Cloud Storage to a MySQL Server”, for more information and instructions on using cloud storage with MySQL Enterprise Backup.
Cloud service for data backup or restoration. Currently, there are two types of cloud storage services supported by mysqlbackup, represented by the following values for the options:
openstack
: OpenStack Swift or
compatible object storage services (for example,
Oracle Cloud Infrastructure Object Storage and Oracle
Cloud Infrastructure Object Storage Classic).
s3
: Amazon Simple Storage Service
(S3).
Due to some issues, Amazon S3 is currently not supported by MySQL Enterprise Backup 3.12.
Print trace information for cloud operations. It works
independently of --trace
, which
specifies the trace level for the non-cloud operations of
mysqlbackup. Any non-zero value for the
option enables the trace function.
Default value is “0.”
Proxy address and port number for overriding the environment's default proxy settings for accessing a cloud storage service.
The list-image
operation can
be performed on a cloud backup only if the cloud proxy
supports HTTP range headers.
(For release 3.12.3 and later) Absolute path to the CA
bundle file for host authentication for SSL connections.
When the option is specified, the usage of the CA bundle
file is preferred over the usage of individual
.pem
files for host authentication. .
(For release 3.12.3 and later) CA certificate directory, in addition to the system's default folder.
Options used only for OpenStack Swift (using them when the
argument for --cloud-service
is anything
other than openstack
will cause
mysqlbackup to throw an error):
--cloud-container
=
SWIFT_CONTAINER
The Swift container for the backup image. For Oracle Cloud Infrastructure (OCI) Object Storage, this is the object storage bucket.
The Swift object for the backup image. Note that names of objects within the same container (or bucket, for OCI Object Storage) have to be unique.
User ID for accessing Swift. The user credentials are
authenticated using the Swift TempAuth identity system
when the
--cloud-tempauth-url
option is used and by the OpenStack Keystone identity
service when the
--cloud-identity-url
option is used.
--cloud-password
=
SWIFT_PASSWORD
Password for accessing Swift for the user specified by
the --cloud-user-id
option. The user
credentials are authenticated using the Swift TempAuth
identity system when the
--cloud-tempauth-url
option is used and by the OpenStack Keystone identity
service when the
--cloud-identity-url
option is used.
--cloud-tempauth-url
=
SWIFT_TEMPAUTH-URL
The TempAuth URL for authenticating user credentials.
Either this option or
--cloud-identity-url
(but not both) should be used when accessing a Swift
service.
--cloud-identity-url
=
SWIFT_KEYSTONE-URL
The URL of the Keystone identity service, when it is
used for authenticating user credentials. Either this
option or
--cloud-tempauth-url
(but
not both) should be used when accessing a Swift
service.
--cloud-tenant
=
SWIFT_KEYSTONE-TENANT
The Keystone tenant for the user specified by
--cloud-user-id
, when the
Keystone identity service is used for authenticating
user credentials.
--cloud-region
=
SWIFT_KEYSTONE-REGION
The Keystone region for the user specified by
--cloud-user-id
, when the
Keystone identity service is used for authenticating
user credentials.
Options used only for Amazon S3 (using them when the
argument for --cloud-service
is anything
other than s3
will cause mysqlbackup to
throw an error):
The storage bucket on Amazon S3 for the backup image.
In order to perform cloud backups and restores with
the bucket, the user identified by the
--cloud-access-key-id
option must have at least the following permissions on
the bucket:
s3:ListBucket
: For listing
information on items in the bucket.
s3:ListBucketMultipartUploads
:
For listing multipart uploads in progress to the
bucket.
s3:GetObject
: For retrieving
objects from the bucket.
s3:PutObject
: For adding
objects to the bucket.
--cloud-secret-access-key
=S3_ACCESS-KEY
AWS secret access key for the AWS access key id
specified with
--cloud-access-key-id
.
Region for Amazon Web Services that mysqlbackup accesses for S3.