I worked with a Linux pro years ago who did this nifty trick. He could do a mysqldump but redirect the output to an scp/ssh connection rather than writing to disk. We used this quite a bit where I used to work but I cannot remember how to do this anymore.
I'm now faced with the issue where my hard drive in my server is on its last legs and is, for intents and purposes, permanently mounted as read only.
I was hoping to utilize this command line trickery to still be able to back up my databases on to a new server, since writing the dump to the local disk and transferring it is clearly out of the question.
Is this little trick actually possible? If so, what is the syntax?
I've since realized due the read only file system issue I'm experiencing I cannot even connect to MySQL to do the dump. Your feedback was great and hopefully of use to someone else in the future