Sign inSign up

wushaobo/percona-xtrabackup

By wushaobo

•Updated about 9 years ago

percona xtrabackup, used in https://github.com/wushaobo/percona-binlog-recover

Image
0

1.7K

wushaobo/percona-xtrabackup repository overview

⁠percona-binlog-recover

Help developers with Mac OS X to recover the mysql snapshot created by percona xtrabackup.

⁠Why

The mysql snapshot created by percona-xtrabackup needs two steps to recover to a new datatbase:

  1. decompress from tar.gz to folder.
  2. apply binlog.

The second step requires percona-xtrabackup in command, which is not provided on mac.

⁠Idea

The idea is to start a docker container with percona-xtrabackup inside and share disk volumn with host, apply binlog in container and tear down the container for the host.

⁠How

Usage: apply_mysql_binlog.sh /ABSOLUTE/PATH/TO/MYSQL_SNAPSHOT/FOLDER

Tag summary

Content type

Image

Digest

Size

111.2 MB

Last updated

about 9 years ago

docker pull wushaobo/percona-xtrabackup