Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

Try using curl:

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

Found this at http://hintsforums.macworld.com/archive/index.php/t-44719.html

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.