The capabilities described in this document are currently under
development and are available in the source tree contained in the
mysql-6.0-backup
BZR repository. To use MySQL
Backup, you must create a branch (local copy) of this repository.
Create a branch of the mysql-6.0-backup
repository. If you do not already have a BZR repository
directory created, initialize it using the instructions at
Installing from the Development Source Tree.
To create a new branch, use the following command:
shell> bzr branch lp:~mysql/mysql-server/mysql-6.0-backup lp-backup
The command creates a local source tree in a directory named
lp-backup
. Use a different name for the
final argument if you like.
Build and install MySQL as you normally would. If you want to
use the compression features of MySQL Backup, run
configure with the
--with-zlib-dir=no|bundled|
option, which provides control over compression library
support. The value DIR
no
explicitly disables
compression support. bundled
causes the
zlib
library bundled in the MySQL sources
to be used. A DIR
path name
specifies the directory in which to find the compression
library sources.
MySQL Backup capabilities are disabled by default. To enable
them, start the server with the
--mysql-backup
option.