0

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 ... ?

1 Answer 1

1

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
1
  • I just started the first solution you mentioned. I will keep you posted.
    – MatBanik
    May 19, 2011 at 16:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .