Question

I'm running mysqldump from a remote machine to do periodic backups of our database and want to ensure it isn't using up all of the available bandwidth.

The command I'm running is:

mysqldump --compress --opt --add-drop-database --skip-lock-tables --single\
-transaction -u$USER -p$PASSWD -h $HOST $DB > $SCRIPT_DIR/$DB.$HOST_NAME\
.sql

I'd rather not have to rely on running the backups locally and using SCP/SFTP if possible.

Was it helpful?

Solution

Trickle looks like it'll do the trick.

The nice thing about this is it doesn't require root credentials to work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top