test-restore job from mysql-backup/1.27.0
Github source:
d31c0561
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
(fromclean-test-db.sql.erb
)bin/insert-test-data.sql
(frominsert-test-data.sql.erb
)bin/my.cnf
(frommy.cnf.erb
)bin/parse-s3-output.rb
(fromparse-s3-output.rb
)bin/run
(fromerrand.sh.erb
)bin/test-data.csv
(fromtest-data.csv
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.