MySQL Enterprise Backup User's Guide (Version 4.0.3)
These repository options specify various parameters related to the database server, from which the data is backed up or to which a backup is restored.
These options are used only with the following operations:
Backup creation operations:
backup
,
backup-and-apply-log
,
backup-to-image
.
Restore operations: copy-back
,
copy-back-and-apply-log
.
When a database connection is available during a backup, the parameters describing the source repository are ignored, overridden by the corresponding values retrieved from the database connection.
For information about how these options are specified for the MySQL server, click the option names to see the descriptions in the MySQL Reference Manual.
datadir
=PATH
This is the datadir
value used by the
MySQL instance. The .frm
files reside
here inside subdirectories named after the databases inside
the instance.
When a database connection exists, the value is retrieved automatically and overrides any value you specify. This is a crucial parameter for both the MySQL server and MySQL Enterprise Backup.
innodb_data_home_dir
=PATH
Specifies the directory where InnoDB data files reside.
Usually the same as
datadir
, but can be
different.
This parameter, together with
innodb_data_file_path
=SIZE
,
determines where the InnoDB data files such as
ibdata1
, ibdata2
,
and so on, are situated within the MySQL server.
Typically, you do not need to specify this option, because its value is retrieved automatically using the database connection.
Its value is derived as follows:
If innodb_data_home_dir
is not
specified, it inherits the value of
datadir
.
If innodb_data_home_dir
is a relative
path, the path is located relative to (that is,
underneath) the datadir
value.
An innodb_data_home_dir
of
""
refers to the
/
root directory.
If innodb_data_home_dir
is an absolute
path, its value is used as-is.
innodb_data_file_path
=VALUE
Specifies InnoDB data file names and sizes. Examples:
ibdata1:32M;ibdata2:32M:autoextend /abs/path/ibdata1:32M:autoextend innodb-dir/ibdata1:32M:autoextend
When a database connection exists, the value is retrieved automatically and overrides any value you specify.
This parameter together with innodb_data_home_dir determines
where the InnoDB data files (such as
ibdata1
, ibdata2
,
and so on) reside in server repository.
Typically, you do not need to specify this option, because its value is retrieved automatically using the database connection. If no database connection is available, you must specify it.
Whether the initial file name begins with a
/
character or not, the files are located
relative to the innodb_data_home_dir
value.
innodb_log_group_home_dir
=PATH
Specifies where InnoDB logs reside within the server
repository. Usually the same as datadir
,
but can be different.
Its value is derived as follows:
If innodb_log_group_home_dir
is not
specified, it inherits the value of
datadir
.
If innodb_log_group_home_dir
is a
relative path, the path is taken to be relative to (that
is, underneath) the datadir
value.
If innodb_log_group_home_dir
is an
absolute path, its value is used as-is.
Specifies the number of InnoDB log files before being rotated.
Typically, you do not need to specify this option, because its value is retrieved automatically using the database connection. If no database connection is available, you must specify it.
When a database connection exists, the value is retrieved automatically and overrides any value you specify.
innodb_log_file_size
=SIZE
Specifies maximum single InnoDB log file size before switching to next log file. Example: 20M.
Typically, you do not need to specify this option, because its value is retrieved automatically using the database connection. If no database connection is available, you must specify it.
When a database connection exists, the value is retrieved automatically and overrides any value you specify.
innodb_page_size
=SIZE
Specifies the page size for all InnoDB tablespaces.
Typically, you do not need to specify this option, because its value is retrieved automatically using the database connection. If no database connection is available, you must specify it.
When a database connection exists, the value is retrieved automatically and overrides any value you specify.
innodb_checksum_algorithm
=NAME
Specifies the name of the checksum algorithm used for
validating InnoDB tablespaces. Default is
innodb
.
Typically, you do not need to specify this option, because its value is retrieved automatically using the database connection. If no database connection is available, you must specify it.
When a database connection exists, the value is retrieved automatically and overrides any value you specify.