Skip to content

streaming-mysql-backup-tool job from mysql-backup/2.17.0

Github source: e1f9ed2 or master branch

Properties

cf-mysql-backup

backup-server

port

Port number used for listening for backup requests

Default
8081

disabled

If true, the tool will not be run

Default
false

enable_mutual_tls

If true, the backup server will validate the certificate from backup client

Default
false

endpoint_credentials

password

Password used by backup client to stream a backup from the mysql node

username

Username used by backup client to stream a backup from the mysql node

tls

client_ca

CA for validating client certs

Default
""
client_hostnames

Acceptable identities in the SAN of the backup client certificate

server_certificate

certificate

server_key

private key

ulimit

Maximum concurrent number of open files

Default
65536

xtrabackup_path

The path to the bin folder containing the binary. For use with pxc-release, use /var/vcap/packages/percona-xtrabackup/bin. The default is for cf-mysql-release

Default
/var/vcap/packages/xtrabackup/bin

cf_mysql

mysql

defaults_file_path

Path to the mysql defaults file used to authenticate to the database

Default
/var/vcap/jobs/mysql/config/mylogin.cnf

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/streaming-mysql-backup-tool/ directory (learn more).

  • bin/simple_collect.sh (from simple_collect.sh.erb)
  • bin/streaming-backup_ctl (from streaming-backup_ctl.erb)
  • config/mysql-defaults-file.cnf (from mysql-defaults-file.cnf.erb)
  • config/streaming-mysql-backup-tool.yml (from streaming-mysql-backup-tool.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.