Chapter 2 Installing MySQL Enterprise Backup

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 that is more automated and convenient than with the former InnoDB Hot Backup product.

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 ibbackup and mysqlbackup commands are 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 them.

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 ibbackup and mysqlbackup commands are installed in the directory /opt/mysql/meb-3.5. 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. (You can also install the MySQL Enterprise Backup product on a computer that is used for storing backup data, and does not have the MySQL Server product.)

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

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