Mysql-zrm.conf: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
==DESCRIPTION==
==DESCRIPTION==


mysql-zrm.conf  is  the  configuration file is  read  by MySQL ZRM tools. All  global ZRM parameters    are stored in ''/etc/mysql-zrm/mysql-zrm.conf'' file. Parameters can be made specific to a backup set by specifying the parameter in mysql-zrm.conf under ''/etc/mysql-zrm/<backup set name>/'' directory. If a parameter is not specified in the backup set specific configuration  file, the parameter value from the global configuration file is used.
The configuration file ''mysql-zrm.conf'' stores all global ZRM parameters for ZRM for MySQL suite. Parameters can be made specific to a backup set by specifying them in the ''mysql-zrm.conf'' under ''/etc/mysql-zrm/<backup set name>/'' directory. Global parameters are default values, but specific parameters in a backup set directory over ride the default values and command line parameters override them.
 
If parameters are not specified in global ''mysql-zrm.conf'' file, ZRM for MySQL suite can also use MySQL client options file (''my.cnf'') parameters.


===SYNTAX===
===SYNTAX===


This  section describes  the  configuration  file  syntax for all mysql-zrm.conf configuration files.
This  section describes  the  configuration  file  syntax for all ''mysql-zrm.conf'' configuration files.


All parameters are specified as
All parameters are specified as


       <parameter>=<value>
       <parameter>=<value>
All parameters are optional and have default values.


All white spaces are ignored unless it is within quotes. All lines beginning with # are comments and are ignored.
All white spaces are ignored unless it is within quotes. All lines beginning with # are comments and are ignored.
Line 34: Line 38:
; ZRM plugin parameters : copy-plugin, pre-backup-plugin, pre-backup-plugin-options, post-backup-plugin, post-backup-plugin-options, pre-scheduler-plugin
; ZRM plugin parameters : copy-plugin, pre-backup-plugin, pre-backup-plugin-options, post-backup-plugin, post-backup-plugin-options, pre-scheduler-plugin


All parameters are optional and have default values.  MySQL server parameters read from MySQL database options file ''my.cnf''. Description of these parameters and their values are available in [[mysql-zrm]](1) and [[Zmanda_Recovery_Manager_for_MySQL|Zmanda Recovery  Manager  for  MySQL manual]].
Description of these parameters and their values are available in [[mysql-zrm]](1) and [[Zmanda_Recovery_Manager_for_MySQL|Zmanda Recovery  Manager  for  MySQL manual]].


==FILES==
==FILES==

Revision as of 01:05, 23 November 2006

NAME

mysql-zrm.conf - Configuration file for ZRM for MySQL

SYNOPSIS

/etc/mysql-zrm/mysql-zrm.conf
/etc/mysql-zrm/<backup set name>/mysql-zrm.conf

DESCRIPTION

The configuration file mysql-zrm.conf stores all global ZRM parameters for ZRM for MySQL suite. Parameters can be made specific to a backup set by specifying them in the mysql-zrm.conf under /etc/mysql-zrm/<backup set name>/ directory. Global parameters are default values, but specific parameters in a backup set directory over ride the default values and command line parameters override them.

If parameters are not specified in global mysql-zrm.conf file, ZRM for MySQL suite can also use MySQL client options file (my.cnf) parameters.

SYNTAX

This section describes the configuration file syntax for all mysql-zrm.conf configuration files.

All parameters are specified as

      <parameter>=<value>

All parameters are optional and have default values.

All white spaces are ignored unless it is within quotes. All lines beginning with # are comments and are ignored.

Parameters can be:

Backup parameters
comment, backup-level, backup-mode, lvm-snapshot, destination, retention-policy, replication, compress, compress-plugin, encrypt, encrypt-plugin, decrypt-option.
Database parameters
all-databases, databases, tables, database
MySQL server parameters
user, password, host, port, socket, ssl-options, mysql-binpath, mysql-binlogpath
ZRM parameters
verbose, mailto, html-report-directory, html-reports, webserver
ZRM plugin parameters
copy-plugin, pre-backup-plugin, pre-backup-plugin-options, post-backup-plugin, post-backup-plugin-options, pre-scheduler-plugin

Description of these parameters and their values are available in mysql-zrm(1) and Zmanda Recovery Manager for MySQL manual.

FILES

/etc/mysql-zrm/mysql-zrm.conf
Global configuration file
/etc/mysql-zrm/<backup set name>/mysql-zrm.conf
Backup set specific configuration file.

SEE ALSO

mysql-zrm-scheduler(1), mysql-zrm-reporter(1), mysql-zrm(1), Zmanda Recovery Manager for MySQL.

AUTHOR

Zmanda Inc. (http://www.zmanda.com)