Skip to content

test-restore job from mysql-backup/1.31.0

Github source: 117cb29 or master branch

Properties

cf-mysql-backup

symmetric_key

Symmetric key to decrypt backups

test-restore

test_db

Name of test database to create. Note: do not name this “test”

Default
mysql_backup_test
wait_time_for_backup

How long the errand will wait for the backup to get streamed to destination, in seconds

Default
400

cf_mysql

mysql

admin_password

Database password

Default
password
admin_username

Database username

Default
root
cluster_ips

List of IP address of servers which can generate backups

port

Database port for contacting mysql

Default
3306

service-backup

destinations

Service Backup destinations

Templates

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

  • bin/clean-test-db.sql (from clean-test-db.sql.erb)
  • bin/insert-test-data.sql (from insert-test-data.sql.erb)
  • bin/my.cnf (from my.cnf.erb)
  • bin/parse-s3-output.rb (from parse-s3-output.rb)
  • bin/run (from errand.sh.erb)
  • bin/test-data.csv (from test-data.csv)

Packages

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