summaryrefslogtreecommitdiff
path: root/src/mariadb-push-replica.sh
AgeCommit message (Collapse)Author
2024-02-16renamesAndrew Cady
2024-02-15ensure replication user is created on server with output to userroot
2024-02-15clean up the devnulls etcroot
2024-02-14cleanfixroot
2024-02-14cleanuproot
2024-02-14remove unused mariabackup coderoot
2024-02-14tweak outputroot
2024-02-14it so tight and it be workin to replicate n shit n keep up n verify that to ↵root
the user with its output
2024-02-14omfg replication actually worksroot
2024-02-13the slave replication seems to work with the mariadb-dump tool automatically ↵root
providing the gtid
2024-02-13refactor like a mastorroot
2024-02-13mariadb-dump based database replicationroot
we list the databases on the primary and replica server, determine which dbs the replica server needs, then send those dbs in a single tcp stream with mariadb-dump. supposedly, the CHANGE MASTER sql statements are automatically included. however, it is unclear how or whether replication is working here. also, even if replication is working right now, it probably got set up by the old code that used mariabackup's "xtra" slave info file to get the binlog position. So the testing needs to be set up to make sure that this is all OK...
2024-02-12factor our mariabackup to replace with mariadb-dump; many output ↵root
improvements; etc
2024-02-11error-handling correctness fixroot
2024-01-23set server-id after restore from backuproot
2024-01-23refactorsroot
2024-01-21move hosting-tools config into /etc/hosting-toolsroot
2024-01-20path fixesroot