Permalink
Browse files

add missing provider configs

pgdump.conf was previously empty - now it is a reasonable example
mysqldump-lvm.conf was previous missing - now added to lvm package
updated contrib/holland.spec to include these as well
  • Loading branch information...
abg committed May 17, 2012
1 parent b595d81 commit 757cd7afe3abf221337a31304c4f35f3d80be3f4
Showing with 80 additions and 0 deletions.
  1. +65 −0 config/providers/mysqldump-lvm.conf
  2. +13 −0 config/providers/pgdump.conf
  3. +2 −0 contrib/holland.spec
@@ -0,0 +1,65 @@
+[mysql-lvm]
+# snapshot-name = "holland_snapshot"
+
+# default: minimum of 20% of mysql lv or mysql vg free size
+# snapshot-size = ""
+
+# default: temporary directory
+# snapshot-mountpoint = "/tmp/hollandbk/"
+
+# default: flush tables with read lock by default
+lock-tables = yes
+
+# default: do an extra (non-locking) flush tables before
+# run flush tables with read lock
+extra-flush-tables = yes
+
+[mysqld]
+mysqld-exe = mysqld, /usr/libexec/mysqld
+user = mysql
+innodb-buffer-pool-size = 128M
+key-buffer-size = 16M
+# tmpdir = ""
+
+
+[mysqldump]
+extra-defaults = no
+mysql-binpath = ,
+
+lock-method = auto-detect
+
+databases = *,
+exclude-databases = ,
+
+tables = *,
+exclude-tables = ,
+
+engines = *,
+exclude-engines = ,
+
+flush-logs = no
+flush-privileges = yes
+dump-routines = no
+dump-events = no
+stop-slave = no
+max-allowed-packet = 128M
+bin-log-position = no
+
+file-per-database = yes
+
+additional-options = ,
+
+estimate-method = plugin
+
+[compression]
+method = gzip
+inline = yes
+level = 1
+
+[mysql:client]
+defaults-extra-file = ~/.my.cnf,
+# user = "" # no default
+# password = "" # no default
+# socket = "" # no default
+# host = "" # no default
+# port = "" # no default
@@ -0,0 +1,13 @@
+[pgdump]
+format = custom
+# additional-options = ""
+
+[compression]
+method = gzip
+level = 1
+
+[pgauth]
+# username = ""
+# password = ""
+# hostname = ""
+# port = ""
View
@@ -322,6 +322,7 @@ cd plugins/holland.backup.mysql_lvm
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
cd -
install -m 0640 config/providers/mysql-lvm.conf %{buildroot}%{_sysconfdir}/holland/providers/
+install -m 0640 config/providers/mysqldump-lvm.conf %{buildroot}%{_sysconfdir}/holland/providers/
# plugin : holland.backup.pgdump
%if %{with pgdump}
@@ -457,6 +458,7 @@ rm -rf %{buildroot}
%{python_sitelib}/holland.lib.lvm-%{version}-*-nspkg.pth
%{python_sitelib}/holland.lib.lvm-%{version}-*.egg-info
%config(noreplace) %{_sysconfdir}/holland/providers/mysql-lvm.conf
+%config(noreplace) %{_sysconfdir}/holland/providers/mysqldump-lvm.conf
%if %{with mysqlhotcopy}
%files mysqlhotcopy

0 comments on commit 757cd7a

Please sign in to comment.