openbsd-ports/databases/mysql-zrm/patches/patch-etc_mysql-zrm_mysql-zrm_conf
giovanni 5bdf04e2e6 Update to mysql-zrm 2.1
Regen patches
ok sthen@
2008-12-22 14:44:26 +00:00

80 lines
3.2 KiB
Plaintext

$OpenBSD: patch-etc_mysql-zrm_mysql-zrm_conf,v 1.2 2008/12/22 14:44:26 giovanni Exp $
--- etc/mysql-zrm/mysql-zrm.conf.orig Fri Dec 5 01:46:01 2008
+++ etc/mysql-zrm/mysql-zrm.conf Fri Dec 19 11:05:27 2008
@@ -40,7 +40,7 @@
# mysqldump(1) tool
# This parameter is optional and default value is "raw".
#
-#backup-mode=raw
+backup-mode=logical
# Size of LVM snapshot. This parameter is optional and is required only
# for "raw" backup-mode and if the MySQL database data are stored in
@@ -64,7 +64,7 @@
# directory. This parameter is optional and the default
# value is "/var/lib/mysql-zrm"
#
-#destination=/var/lib/mysql-zrm
+destination=/var/mysql-zrm
# Specifies how long the backup should be retained. The value can be
# specified in days (suffix D), weeks (suffix: W), months (suffix: M) or
@@ -97,7 +97,7 @@
# This parameter specifies that the program that should be used for
# backup data encryption. "decrypt-option" parameter should also be specified.
-#encrypt-plugin="/usr/share/mysql-zrm/plugins/encrypt.pl"
+encrypt-plugin="${PREFIX}/share/mysql-zrm/plugins/encrypt.pl"
# This specifies the option to be passed to the encryption
# program specified as "encrypt-plugin" parameter for decryption.
@@ -159,7 +159,7 @@
#Name of Socket file that can be used for connecting to MySQL
#
-#socket=/var/lib/mysql/mysql.sock
+socket=/var/run/mysql/mysql.sock
# ssl-options are arguments that are passed to MySQL client commands
# for SSL connection to the MySQL server. This parameter is optional and is
@@ -261,18 +261,18 @@ mailto="root@localhost"
#
# Please read the Notes at /usr/share/doc/mysql-zrm/README-plugin-socket-copy
#
-#copy-plugin=/usr/share/mysql-zrm/plugins/socket-copy.pl
+copy-plugin=${PREFIX}/share/mysql-zrm/plugins/socket-copy.pl
# SSH Copy plugin is to used to transfer backup files from MySQL server to
# the machine running ZRM for MySQL with ssh
#
# Please read the Notes at /usr/share/doc/mysql-zrm/README-plugin-ssh-copy
#
-#copy-plugin=/usr/share/mysql-zrm/plugins/ssh-copy.pl
+copy-plugin=${PREFIX}/share/mysql-zrm/plugins/ssh-copy.pl
# PRE-BACKUP plugin: Plugin that will be called before a backup run for
# the backup set.
-#pre-backup-plugin="/usr/share/mysql-zrm/plugins/pre-backup.pl"
+pre-backup-plugin="${PREFIX}/share/mysql-zrm/plugins/pre-backup.pl"
# Set of parameters passed to the pre-backup-plugin. These parameters are
# passed to "pre-backup-plugin" before a backup run for the backup set.
@@ -281,7 +281,7 @@ mailto="root@localhost"
# POST-BACKUP plugin: Plugin that will be called after a backup run for
# the backup set.
-#post-backup-plugin="/usr/share/mysql-zrm/plugins/post-backup.pl"
+post-backup-plugin="${PREFIX}/share/mysql-zrm/plugins/post-backup.pl"
# Set of parameters passed to the post-backup-plugin. These parameters are
# passed to "post-backup-plugin" after a backup run for the backup set.
@@ -290,7 +290,7 @@ mailto="root@localhost"
# PRE-SCHEDULER plugin: Plugin that can be used to dynamically determine the
# start time for a backup run.
-#pre-scheduler-plugin="/usr/share/mysql-zrm/plugins/pre-scheduler.pl"
+#pre-scheduler-plugin="${PREFIX}/share/mysql-zrm/plugins/pre-scheduler.pl"
# ZRM Plugin configuration parameters