Prevent mysqldump produces intermediate files

45 Views Asked by At

Mysqldump produces intermediate files. How do I prevent these files?

- my code:

mysqldump -v --single-transaction --quick mydb > dump.sql


- result:

7.7G  13:49  dump-rr-rr-rr-rr.sql
6.7G  13:42  dump-rr-rr-rr.sql
3.4G  13:20  dump-rr-rr.sql
1.7G  13:10  dump-rr.sql
668M  13:05  dump.sql       <--- I only want this file with all data


I'm using: ubuntu18.04, mariadb10.2.4, mysqldump10.13

0

There are 0 best solutions below