dev/provisioning/modules/mysql/templates/xtrabackup.sh.erb
author ymh <ymh.work@gmail.com>
Fri, 03 Feb 2017 13:01:08 +0100
changeset 495 c71923e6fa2f
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Correct error when transitioning between thematiques tabs and others (bug #0025983) + correct scroll for themes

<%- if @kernel == 'Linux' -%>
#!/bin/bash
<%- else -%>
#!/bin/sh
<%- end -%>
#
# A wrapper for Xtrabackup
#
<% if @prescript -%>
  <%- [@prescript].flatten.compact.each do |script| %>
<%= script %>
  <%- end -%>
<% end -%>

innobackupex "$@"

<% if @postscript -%>
  <%- [@postscript].flatten.compact.each do |script| %>
<%= script %>
  <%- end -%>
<% end -%>