Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 10:03:19 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        n dhert <ndhert@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: snapshot rsync dump/restore
Message-ID:  <20091217090319.GA83728@slackbox.xs4all.nl>
In-Reply-To: <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com>
References:  <8021a2660912170003t3e01f4ean396908745c411740@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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.
<snip>
> 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--



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