How to install and use mysql Enterprise backup tool mysqlbackup
This article mainly introduces mysql enterprise backup tool mysqlbackup how to install and use, the article introduces in great detail, has a certain reference value, interested friends must read it!
The mysql enterprise version has improved the backup tool than community, adding one more mysqlbackup tool, the mysql Enterprise backup tool.
Of course, the community version that follows GPL can also be used:
Download the tool separately:
Go to the official download center:
Https://edelivery.oracle.com/
Click Sign up to log in
Then search and select the platform, search mysql, and find the enterprise version.
Then click the Continue next to it:
Continue Continue:
Invert the option first:
Then select the corresponding version, and the generic version of linux is selected here:
Then decompress it on linux:
$unzip V101014-01.zip
$cd meb-3.12.2-linux-glibc2.5-x86-64bit/bin
$. / mysqlbackup-- help | more
Complete:
. / mysqlbackup-u=root-p-- backup-dir=/tmp/meb-test backup-and-apply-log
(if backup-dir is not empty, an error will be reported:
Mysqlbackup: ERROR: Backup directory already exists and is not empty.
Remove backup directory and retry.)
Restore:
. / mysqlbackup-- backup-dir=/tmp/meb copy-back
Other backup strategies:
Back up the single file:
. / mysqlbackup-u-p-backup-image=-- backup_dir= backup-to-image
Restore a single file:
. / mysqlbackup-u-p-backup-image=-- backup_dir= image-to-backup-dir
The above is all the contents of the article "how to install and use mysql Enterprise backup tool mysqlbackup". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!