Database/Mysql & Mariadb
Mysql 8과 Mariadb 10의 Backup 이슈(3) [backup conflict]
진윤호
2021. 10. 13. 14:59
728x90
Mysql 8과 Mariadb10으로 버전 업이 되면서 서로 backup tool의 사용이 달라졌는데
그 이유는 더 이상 xtrabackup에서 Mariadb의 redo log를 인지하지 못하기 때문이다.
xtrabackup과 mariabackup의 차이점은 다음과 같다.
l XtraBackup은 InnoDB redo log 파일을 xtrabackup_logfile 파일로 복사하는 반면,
Mariabackup은 ib_logfile0 파일을 사용
l XtraBackup의 libgcrypt 기반 백업 암호화는 Mariabackup에서 미지원.
l innobackupex 과 같이 innobackupex 에서 mariabackup 로의 심볼릭 링크 없음.
대신 mariabackup 에는 --innobackupex 옵션 지원.
l mariabackup은 --compact 및 --rebuild_indexes 옵션 미지원
l MariaDB 10.1.24의 Mariabackup에서 --stream=tar 에 대한 지원이 제거됨.
l xbstream의 이름이 mbstream로 변경됨.
l Mariabackup은 잠금없는 bin log를 지원하지 않음
참조
https://dung-beetle.tistory.com/75
https://runebook.dev/ko/docs/mariadb/mariabackup-overview/index
https://mariadb.com/kb/en/percona-xtrabackup-overview/
728x90