Greetings,.
Long time listener, first time caller
For reasons beyond my control, i am backing this box up via tar, piping it through ftp.
current script is this.
ftp -nv someserver.somedomain.local <<EOF
user ftpuser ftppass
binary
put "| tar cvf - /somedir/aa " aa.tar
put "| tar cvf - /somedir/ab " ab.tar
put "| tar cvf - /somedir/ac " ac.tar
bye
EOF
and this works great as is.
However, i need to be able to log the tar output so i can email it to the appropriate individuals.
Any ideas?
Thanks in advance.