diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-09-05 13:22:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-09-05 13:22:48 -0300 |
commit | 35613fe0e9de8e8229862c939d3c9fb8890a1db2 (patch) | |
tree | 36dd3b9fdf6e92bfe8fb40d45e73448702cbefbf /manifests/mail.pp | |
parent | 126e34605a20b8134719e036bef68568bbc102cb (diff) | |
download | puppet-nodo-35613fe0e9de8e8229862c939d3c9fb8890a1db2.tar.gz puppet-nodo-35613fe0e9de8e8229862c939d3c9fb8890a1db2.tar.bz2 |
Including mysql backup at database class; adding --single-transaction sql dump option to avoid 'out of resources' error
Diffstat (limited to 'manifests/mail.pp')
-rw-r--r-- | manifests/mail.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp index c82aac6..18a4a08 100644 --- a/manifests/mail.pp +++ b/manifests/mail.pp @@ -17,8 +17,9 @@ class nodo::mail { include mail::system backupninja::mysql { "all_databases": - backupdir => '/var/backups/mysql', - compress => true, - sqldump => true, + backupdir => '/var/backups/mysql', + compress => true, + sqldump => true, + sqldumpoptions => '--lock-tables --complete-insert --add-drop-table --quick --quote-names --single-transaction', } } |