* 설치
composer require phpunit/phpunit
* 사용
https://phpunit.de/getting-started.html
add-apt-repository ppa:nginx/stable gpg --keyserver keyserver.ubuntu.com --recv-key ABF5BD827BD9BF62 gpg -a --export ABF5BD827BD9BF62 | apt-key add - apt-get update apt-get install nginx
mysql을 사용하다가 mariadb 10버전을 추가했다.
근데 기존에 쓰던 백업이 호환이 안되는게 아닌가 ㅋㅋㅋㅋ
mariadb 10버전은 xtrabackup_56을 사용해야 한다.
(참조 : Choosing the Right Binary)
하지만 innobackupex는 여전히 사용할수 없다.
apt-get install xtrabackup
* 백업
xtrabackup_56 --backup --datadir=/data/mysql/ --target-dir=/data/backup/mysql/
* 복구
xtrabackup_56 --prepare --target-dir=/data/backup/mysql/