Commit 939deffe authored by Łukasz Nowak's avatar Łukasz Nowak

Use xtrabackup.

This tool allow to have hot backups of mysql. innobackupex is referred
directly, but xtrabackup_51 is just linked into instance bin directory,
which will be later passed in environment.
parent 50a08a0c
...@@ -28,6 +28,7 @@ runzope_binary = ${buildout:bin-directory}/runzope ...@@ -28,6 +28,7 @@ runzope_binary = ${buildout:bin-directory}/runzope
tidstoraged_binary = ${buildout:bin-directory}/tidstoraged tidstoraged_binary = ${buildout:bin-directory}/tidstoraged
tidstorage_repozo_binary = ${buildout:bin-directory}/tidstorage_repozo tidstorage_repozo_binary = ${buildout:bin-directory}/tidstorage_repozo
zabbix_agent_binary = ${zabbix-agent:location}/sbin/zabbix_agent zabbix_agent_binary = ${zabbix-agent:location}/sbin/zabbix_agent
innobackupex_binary = ${xtrabackup:location}/bin/innobackupex
# cloudooo specific configuration # cloudooo specific configuration
ooo_binary_path = ${libreoffice-bin:location}/program ooo_binary_path = ${libreoffice-bin:location}/program
...@@ -44,6 +45,7 @@ link_binary_list = ...@@ -44,6 +45,7 @@ link_binary_list =
${xpdf:location}/bin/pdftotext ${xpdf:location}/bin/pdftotext
${imagemagick:location}/bin/convert ${imagemagick:location}/bin/convert
${git:location}/bin/git ${git:location}/bin/git
${xtrabackup:location}/bin/xtrabackup_51
# XXX: products won't be needed as soon as all ERP5 (and products-deps) # XXX: products won't be needed as soon as all ERP5 (and products-deps)
# products will be eggified so then it will be possible to use them thanks to # products will be eggified so then it will be possible to use them thanks to
......
...@@ -43,6 +43,7 @@ extends = ...@@ -43,6 +43,7 @@ extends =
profile/w3m.cfg profile/w3m.cfg
profile/xorg.cfg profile/xorg.cfg
profile/xpdf.cfg profile/xpdf.cfg
profile/xtrabackup.cfg
profile/zabbix.cfg profile/zabbix.cfg
versions = versions versions = versions
...@@ -125,7 +126,7 @@ section = python2.7 ...@@ -125,7 +126,7 @@ section = python2.7
# Default template for erp5 instance. # Default template for erp5 instance.
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg url = ${:_profile_base_location_}/instance.cfg
md5sum = 9a5171bdda2db7c3eeea92a6517f2cd0 md5sum = 80aaeb08f57aab2d02e959d7d3d7e50f
output = ${buildout:directory}/template.cfg output = ${buildout:directory}/template.cfg
mode = 0644 mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment