I want to mysqldump my managed basic $120 database. Or transferring it to smaller droplet

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

image alt text
image caption

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?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
March 26, 2023

Hi there,

I could suggest trying to add the --quick argument to the mysqldump 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:

Let me know how it goes!



Site Moderator
Site Moderator badge
March 26, 2023

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?


Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel