Compressing from mysqldump on the fly?

I am running mysqldump from a remote database server (doing a local dump is not possible) for backup purposes. This is done daily and the bandwidth usage is a bit of a problem.

Is there a way to compress the output of mySQL dump but have that compression happen on the mySQL server as opposed to the server which is running mysqldump, because by the time the data has got to that server compressing it is no longer any use.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

-C|--compress  Use compression in server/client protocol.

(mysqldump option).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
note - this will compress the communication between mysqldump and the server, you'll need to compress the output of mysqldump yourself ( | gz or something like that)
thepaddersAuthor Commented:
Oh great, thank you.

Do you happen to know how "good" the compression is, what sort of reduction you get generally?
Hard to tell, the protocol is pretty efficient (low overhead) so it really depends on your data.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.