summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2011-03-15 21:13:11 -0400
committerJamie McClelland <jm@mayfirst.org>2011-03-15 21:13:11 -0400
commit54d77c688d6193da2d8f96f6e1937ecb13225d97 (patch)
tree98ef9c585f29e50417db30dcc8a03fef1c60286f /templates
parent93851f9f3677009885e54fd53d9150aa5f527078 (diff)
Take advantage of nodata option in mysql backupninja config
Diffstat (limited to 'templates')
-rw-r--r--templates/mysql.conf.erb5
1 files changed, 5 insertions, 0 deletions
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 %>
+