Closed HanXHX closed 2 months ago
I'm also looking for a way to automate data import when bootstraping a new galera cluster, using mariabackup and with the following method:
Inspired from https://severalnines.com/database-blog/guide-mysql-galera-cluster-restoration-using-mysqldump
In term of implementation, I was thinking of a dedicated yaml tasks that could be easily imported
Hi,
This issue was about async replication (5 years old!) to setup a new slave.
The main problem is about which method to restore data . Each people/companies uses different methods: mysqldump :baby:, mydumper, LVM/ZFS snapshots, mariabackup... etc.
I don't like this code import_data.yml. It works well with vagrant box but it's not production ready.
This role must not manage each case. I think the best way is to manage with an external playbook.
Ansistrano role uses hooks. I think it can be an interesting way.
Something like:
EM
In this role, i use some hack to import data with percona-toolkit.
I need help to find a way to import data: