On Tue, Oct 23, 2001 at 07:33:13AM +1000, Grant Parnell wrote: > Hmmm consider writing a little program to insert in the pipe that filters > all output until it gets a marker. > ssh root@martel 'echo "MARKER"; tar cvf - /home/mikel/testing' | filter.pl > | dd >/dev/rmt0
Nice idea but I am backing up a few Gigabytes of data from a few home directories. That would involve an if comparison for every line which would be a stupendous bottle neck even if written in assembler :-) I shall prob just remove any lines from root's .bashrc, .profile that echo as the script will always be run from root. Just thought that surely someone in slug does *streaming* backup to another machine using *tar over ssh* and must have examples of how the do it. > > # This is what will run when it all works :-) > > #ssh root@martel 'tar cvf - /home' | dd > /dev/rmt0 > > Question: > > How do I stop the login stuff from prepending to the tape.? > > Is there a better way to pipe tar through ssh or use scp? so Mike -- panic: can't find / Michael Lake, University of Technology, Sydney Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 Home: http://www.speleonics.com.au Linux enthusiast, active caver and interested in anything technical. *************************************** -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
