Re: best way to copy from one fbsd box to another
- From: John Nielsen <lists@xxxxxxxxxxxx>
- Date: Tue, 1 Aug 2006 14:31:09 -0400
On Tuesday 01 August 2006 14:04, Bill Moran wrote:
In response to David Banning <david+dated+1154886729.6e1beb@xxxxxxxxxxxxx>:
I am installing a new server and have to copy many files from old server
to new. I have connected a windows box to each via samba, and am dragging
from one to the other via the windows box.
This might seem like a silly question, but what is the way to copy
-directly- from one fbsd box to another?
Usually NFS or scp. There are other choices, though.
For many situations my favorite is tar+netcat (w/ optional bzip2 compression).
On the destination host:
cd /some/path
nc -l 1234 | tar -xjvf -
And on the source host:
cd /some/path
tar -cjvf - relative/path/to/source/dir | nc destip 1234
If you don't want compression leave out the 'j' flag in both calls to tar.
scp is your best bet if you need encryption though (take note of the -r and -C
flags).
JN
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: best way to copy from one fbsd box to another
- From: Nikolas Britton
- Re: best way to copy from one fbsd box to another
- References:
- best way to copy from one fbsd box to another
- From: David Banning
- Re: best way to copy from one fbsd box to another
- From: Bill Moran
- best way to copy from one fbsd box to another
- Prev by Date: Re: best way to copy from one fbsd box to another
- Next by Date: Re: chipest real hardware raid for FreeBSD&Windows XP
- Previous by thread: Re: best way to copy from one fbsd box to another
- Next by thread: Re: best way to copy from one fbsd box to another
- Index(es):
Relevant Pages
|