Documentation Home
MySQL Enterprise Backup 3.11 User's Guide
PDF (US Ltr) - 1.0Mb
PDF (A4) - 1.0Mb

MySQL Enterprise Backup 3.11 User's Guide  /  ...  /  Server Repository Options

### 5.1.4 Server Repository Options

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:

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.

This is the datadir value used by the MySQL instance. The .frm files live 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 live. 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, that 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) live 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 filename begins with a / character or not, the files are located relative to the innodb_data_home_dir value.

• Specifies where InnoDB logs live 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, that path is located 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.

• 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.