snapshot rsync dump/restore
Roland Smith
rsmith at xs4all.nl
Thu Dec 17 09:03:22 UTC 2009
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 put
> 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
--
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091217/7e8023a4/attachment.pgp
More information about the freebsd-questions
mailing list