From 939deffe1c5d77af35c279de106a1fc2f01500be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 5 May 2011 18:40:30 +0200 Subject: [PATCH] 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. --- slapos/instance.cfg | 2 ++ slapos/software.cfg | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/slapos/instance.cfg b/slapos/instance.cfg index 13a9f8c27f..b78afb9476 100644 --- a/slapos/instance.cfg +++ b/slapos/instance.cfg @@ -28,6 +28,7 @@ runzope_binary = ${buildout:bin-directory}/runzope tidstoraged_binary = ${buildout:bin-directory}/tidstoraged tidstorage_repozo_binary = ${buildout:bin-directory}/tidstorage_repozo zabbix_agent_binary = ${zabbix-agent:location}/sbin/zabbix_agent +innobackupex_binary = ${xtrabackup:location}/bin/innobackupex # cloudooo specific configuration ooo_binary_path = ${libreoffice-bin:location}/program @@ -44,6 +45,7 @@ link_binary_list = ${xpdf:location}/bin/pdftotext ${imagemagick:location}/bin/convert ${git:location}/bin/git + ${xtrabackup:location}/bin/xtrabackup_51 # 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 diff --git a/slapos/software.cfg b/slapos/software.cfg index 000c272ded..eb0c54a161 100644 --- a/slapos/software.cfg +++ b/slapos/software.cfg @@ -43,6 +43,7 @@ extends = profile/w3m.cfg profile/xorg.cfg profile/xpdf.cfg + profile/xtrabackup.cfg profile/zabbix.cfg versions = versions @@ -125,7 +126,7 @@ section = python2.7 # Default template for erp5 instance. recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance.cfg -md5sum = 9a5171bdda2db7c3eeea92a6517f2cd0 +md5sum = 80aaeb08f57aab2d02e959d7d3d7e50f output = ${buildout:directory}/template.cfg mode = 0644 -- 2.30.9