Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to do full backup of my cloud image to my FTP server by using this command:

/sbin/dump -0uan -f - / | gzip -9 

How do I send this to FTP server just by adding | ftp ... ?

share|improve this question
up vote 1 down vote accepted

Try using curl:

... | curl -u User:Pass ftp://ftpserver/Folder/filename -T -

Found this at

It seems you can also "invoke" a pipe from the ftp client itself, once you're logged in:

put "| command" myfile.dmp
share|improve this answer
I just started the first solution you mentioned. I will keep you posted. – Mat Banik May 19 '11 at 16:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.