0

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.

Jason McCreary
  • 71,546
  • 23
  • 135
  • 174
hafichuk
  • 10,351
  • 10
  • 38
  • 53

1 Answers1

0

Trickle looks like it'll do the trick.

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

hafichuk
  • 10,351
  • 10
  • 38
  • 53