Commit 16b8c4b5 authored by Vincent Pelletier's avatar Vincent Pelletier

Make backup-related configuration entries optional.

Complete list:
backup-script, full-backup-directory, incremental-backup-directory,
innobackupex-incremental, innobackupex-full, innobackupex-binary,
xtrabackup-binary
parent 1e04cf84
...@@ -127,6 +127,8 @@ class Recipe(GenericBaseRecipe): ...@@ -127,6 +127,8 @@ class Recipe(GenericBaseRecipe):
)] )]
) )
path_list.append(mysqld) path_list.append(mysqld)
# TODO: move to a separate recipe (ack'ed by Cedric)
if 'backup-script' in self.options:
# backup configuration # backup configuration
full_backup = self.options['full-backup-directory'] full_backup = self.options['full-backup-directory']
incremental_backup = self.options['incremental-backup-directory'] incremental_backup = self.options['incremental-backup-directory']
......
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