Chapter 2 Installing MySQL Enterprise Backup

Install the MySQL Enterprise Backup product on each database server whose contents you intend to back up. You perform all backup and restore operations locally, by running the mysqlbackup command on the same server as the MySQL instance.

Optional: You can also install the MySQL Enterprise Backup product on computers other than the database server, only to run mysqlbackup with the apply-log option. See Section, “Apply-Log Operations for Existing Backup Data” for information about bringing backup data to a separate server and running the apply log step there.

The MySQL Enterprise Backup product is packaged as either an archive file (.tgz, archived with tar and compressed with gzip) or as a platform-specific installer.

Installing on Unix and Linux Systems

For all Linux and Unix systems, the product is available as a .tgz file. Unpack this file as follows:

tar xvzf package.tgz

The mysqlbackup command is unpacked into a subdirectory. You can either copy them into a system directory (preserving their execute permission bits), or add to your $PATH setting the directory where you unpacked it.

For certain Linux distributions, the product is also available as an RPM archive. When you install the RPM, using the command sudo rpm -i package_name.rpm, the mysqlbackup command is installed in the directory /opt/mysql/meb-3.9. You must add this directory to your $PATH setting.

Installing on Windows Systems

Specify the installation location, preferably relative to the directory where the MySQL Server product is installed.

Choose the option to add this directory to the windows %PATH% setting, so that you can run the mysqlbackup command from a command prompt.

Verify the installation by selecting the menu item Start > Programs > MySQL Enterprise Backup 3.9.0 > MySQL Enterprise Backup Command Line. This menu item opens a command prompt and runs the mysqlbackup command to display its help message showing the option syntax.