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 5.1.1.2, “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.
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.
On FreeBSD 10.1, there is a dependency for
mysqlbackup on the shared library
libz.so.5, which can be installed on your
system by installing, for example, the compat8x libraries.
For certain Linux distributions, the product is also available as an
RPM archive. When you install the RPM, using the command
sudo rpm -i
, the
mysqlbackup command is installed in the directory
package_name.rpm/opt/mysql/meb-3.11. You must add
this directory to your $PATH setting.
The product can be installed together with other MySQL products with
the MySQL Installer for Windows. It can also be installed separately
with either an individual .msi installer or
.zip file.
When installing with a .msi installer, specify
the installation location, preferably under the same directory where
other MySQL products have been installed. Choose the option
Include directory in Windows PATH, so that you
can run the mysqlbackup command from any
directory.
When installing with a .zip file, simply unzip
the file and put mysqlbackup.exe at the desired
installation location. You can add that location to the
%PATH% variable, so that you can run the
mysqlbackup command from any directory.
Verify the installation by selecting the menu item . The menu item displays version information and opens a command prompt for running the mysqlbackup command.