From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 09:03:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59401106568B for ; Thu, 17 Dec 2009 09:03:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id CA75B8FC08 for ; Thu, 17 Dec 2009 09:03:21 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBH93KoT089007; Thu, 17 Dec 2009 10:03:20 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D7C47BAA7; Thu, 17 Dec 2009 10:03:19 +0100 (CET) Date: Thu, 17 Dec 2009 10:03:19 +0100 From: Roland Smith To: n dhert Message-ID: <20091217090319.GA83728@slackbox.xs4all.nl> References: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: snapshot rsync dump/restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 09:03:22 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 09:03:50AM +0100, n dhert wrote: > I want to clone a FreeBSD system on another system. > Say, Mondaymorning I use the dump(8) to make dumpfiles of all filesystems > (dumpofroot.dmp, dumpofvar.dmp, ...tmp.dmp, ...usr.dmp, ...home.dmp ) on = an > external USB disk. Dumping /tmp is usually not necessary. > The original system keeps running. > Then Wednesday I setup FreeBSD on the new system, and use restore(8) to p= ut > the contents of my dumpfiles in the filesystems of that clone system. If the new system has different hardware, do not forget to adjust /boot/loader.conf, or build a custom kernel. And you should definitely edit /etc/rc.conf if even for the hostname. > Then I still need to have the changes occured during Mondaymorning till > Wednesdayafternoon on the original system, to be put in some way on the > clone system, so that these are not lost. > How exactly would one best proceed? I would recommend rsync. > Is rsync save regarding soft-links ? Yes, if you use the '-a' flag. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksp89cACgkQEnfvsMMhpyU/DACaAwFNQpcRCK51I3BaMvCJs/S+ 8MsAn3dnhSfJrU4bQEtCRZpXNhleYLqV =mU2f -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--