--Another nice trick, if the destination box is faster than the one you're on AND you want to save disk space:

" cd /mnt/hda1; tar cvf - . |ssh -2 -C -l knoppix 10.0.0.2 '(cd destdir; cat |gzip -9 >yourbackupfilename.tar.gz)' " == This creates the tar file, passes it over the network, and compresses it on the DESTINATION box as a tar.gz.

--Always remember to ' tar tvf ' or ' tar tzvf ' the resulting tar / tar.gz file (preferably to another file) to make sure you have a backup listing, and that the file was created Ok.

Quote Originally Posted by aay
Quote Originally Posted by Dave_Bechtel
As root, WITH the single-quotes (') - /mnt/hda1 is drive C:
" cd /mnt/hda1; tar cvf - . |ssh -2 -C -l knoppix 10.0.0.2 '(cd destdir; cat >yourbackupfilename.tar)' "
Nice trick. I'm going to stick it in my tool box.