I want to backup mysql database cluster, because I make wrong API call that scale the database from $60 to $120, I’m using db-s-4core-8gb.
when im using mysqldum i get this problem
and this is my command mysqldump -h dxxxxxx-backup-do-user-xxxxxxx --port=25060 -u doadmin -p moodle -verbose > moodle-smunoo-$(date +%F).sql
Im using / 8 GB RAM / 4vCPU / 115 GB Disk / Primary only / SGP1 - MySQL 8
can anyone help me?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
I could suggest trying to add the
--quick
argument to themysqldump
command.This option is useful for dumping large tables. It forces
mysqldump
to retrieve rows for a table from the server a row at a time rather than retrieving the entire row set and buffering it in memory before writing it out:https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#option_mysqldump_quick
Let me know how it goes!
Best,
Bobby
Hello @sleepingseagreenmorel
The image with the error does not appear to load correctly. Would you mind sharing the error in plain text or give it another try to upload it?
Regards