Origin server: 1 table - InnoDB -> 700gb - 1.5 billion records (Free disk space: 200gb)
Destination server is in the same network.
The destination server will have a lot of free space, the origin only has 200gb free.
1 - The table has 1.5 billion records, so querying line by line would not be the best way.
2 - Possibly the only viable way I found at the moment was to copy the IBD file and try to restore it using TABLESPACE, according to the instructions in this link: https://community.spiceworks.com/t/recover-mysql-database-from-frm-and-ibd-files/1014394
With MariaBackup I would be able to save the file at the source if I had free space. Unfortunately, it is not possible to send the file via MariaBackup directly to the origin server over the network, right?
Is there any better way to export besides these two mentioned?
Thanks a lot. =)
ssh
then pipe it back in on the other side? But I don't think you can do that usingmariabackup
because you need to use--prepare
first. Maybersync
?INSERT INTO federated_table SELECT * FROM local_table;
- see mariadb.com/kb/en/federatedx-storage-engine