From 54d77c688d6193da2d8f96f6e1937ecb13225d97 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Tue, 15 Mar 2011 21:13:11 -0400 Subject: Take advantage of nodata option in mysql backupninja config --- templates/mysql.conf.erb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates') diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb index 14905fd..2efa4b1 100644 --- a/templates/mysql.conf.erb +++ b/templates/mysql.conf.erb @@ -16,3 +16,8 @@ compress = <%= compress ? 'yes' : 'no' %> <% if real_configfile %> configfile = <%= real_configfile %> <% end %> + +<% if nodata %> +nodata = <% nodata.each do |dbtable| -%><%= dbtable %> <% end -%> +<% end %> + -- cgit v1.2.3