Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 1995 20:02:34 +0100 (MET)
From:      roberto@blaise.ibp.fr (Ollivier ROBERT)
To:        mark@grondar.za (Mark Murray)
Cc:        hackers@freebsd.org
Subject:   Re: Replicating system.
Message-ID:  <9501041902.AA14980@blaise.ibp.fr>
In-Reply-To: <199501041812.UAA07065@grunt.grondar.za> from "Mark Murray" at Jan 4, 95 08:12:01 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Now - (thinks) How do I best copy the contents of the two disks to the
> new SCSI? I have done this before by tar-ing to a tape and restoring,
> but a file or 10 in /var/... got bust. Same for dump-ing to a tape.

cd srcdir; tar cf - . | ( cd /dstdir; tar xvfpB - )	OR

cp -pR . /dstdir

> (I recall that one of the problem files was a socket(?) in
> /var/run/printer= with mode srwxrwxrwx)

Doesn't matter, /var/run/printer is recreated at each boot as /var/run
is emptied at boot time.

-- 
Ollivier ROBERT   -=- FreeBSD: the daemon is FREE! -=-   roberto@FreeBSD.ORG
      FreeBSD keltia 2.1.0-Development #2: Thu Dec 29 20:28:18  1994
             roberto@keltia:/usr/src/sys/compile/KELTIA ctm#235



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501041902.AA14980>