Le 09-01-19 à 12:46, Roland Smith <rsm...@xs4all.nl> a écrit :

On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote:
My question is how do you clone PC over SSH (it would be too much a PITA
to open each case to plug the HD directly in the source PC).

Would it have to be ssh? Why not just use netcat [nc(1)] if both
machines are on your local network?

Try something like:

<destination machine, booted e.g. from CD>
newfs /dev/foo
mount /dev/foo /mntroot
cd /mntroot
nc -l 65000| restore -rvf -

<source machine>
dump -0 -a -C 8 -L -u -f - / | nc <dest> 65000


Sounds pretty interesting to me but i couldn't test right now. As nc is in /usr/bin how will i not face the same problem as with ssh? Can you point me to a freebsd live cd that has nc included?

Thanks a lot for your help

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to