One of the best ways to answer a question like this is to try it and
see what happens :).
cpio and ssh work just fine; I usually use something like this:
(a) for copying files to a remote host:
find /dir -print | cpio -o | ssh host 'cd /newdir; cpio -id'
keep in mind that for something like this you can also
use the 'scp' command to good effect; I've never tried this
when device files were involved, but it certainly is somewhat
shorter to type.
(b) for archiving files on a remote host:
find /dir -print | cpio -o | ssh host 'cat > /path/to/archive.cpio'
You may also want to investigate the 'afio' program, which is similar in
many ways to cpio but can compress files on the fly (and is safer than
cpio -o | gzip | ...). Afio can be found at:
ftp://metalab.unc.edu/pub/linux/system/backup/
-- Lars
--
Lars Kellogg-Stedman <[EMAIL PROTECTED]> --> http://www.larsshack.org/
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.