My database has 1.9G, how can I export a file of 100M in batches
某草草2017-05-24 11:36:42
What, mysql migration. If the version is high enough, just copy and paste the physical files.
PHPz2017-05-24 11:36:42
tar czf <Database file directory>|split -b 100m -d -x 1 <Package name>.
某草草2017-05-24 11:36:42
If you just want to back up to other machines, just rsync. My MySQL is now built in a docker container. When working as a master and slave, I can directly rsync to other machines, which is very fast.