Skip to content

Use the xbcloud binary with Google Cloud Storage

Create a full backup with Google Cloud Storage

The support for Google Cloud Storage is implemented using the interoperability mode. This mode was especially designed to interact with cloud services compatible with Amazon S3.

$ xtrabackup --backup --stream=xbstream --extra-lsndir=/tmp --target-dir=/tmp | \
xbcloud put --storage=google \
--google-endpoint=`` \
--google-access-key='YOUR-ACCESSKEYID' \
--google-secret-key='YOUR-SECRETACCESSKEY' \
--parallel=10 \
$(date -I)-full_backup

The following options are available when using Google Cloud Storage:

  • –google-access-key =

  • –google-secret-key =

  • –google-bucket =

  • –google-storage-class=name


The Google storage class name options are the following:





Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.

Last update: 2024-06-12