Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 17:32:58 -0800
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        "Corey G." <ctgaff@telocity.com>
Cc:        Alexandr Kovalenko <neve_ripe@yahoo.com>, lists <lists@lists.grot.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: installing onto a new drive from a running system 
Message-ID:  <200102230133.f1N1XL865263@cwsys.cwsent.com>
In-Reply-To: Your message of "Thu, 22 Feb 2001 19:10:20 CST." <20010222191020.A51735@telocity.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010222191020.A51735@telocity.com>, "Corey G." writes:
> I successfully did a dupe of my running FreeBSD 4.2 system using the
> following method just a few weeks ago. My goal was to keep it as simple
> as possible.  I use pull out drives which makes this method even easier
> for myself.
> 
> 1. installed the second drive as a slave
> 2. created partitions and labeled partitions using sysinstall from the
>    running system
> 3. mounted each partition from the slave drive one at a time to /mnt
> 4. used "rsync -avp /source/ /mnt" as my copy method for each FS
> 
> When I was done I simply switched my master and slave drive and
> rebooted.  Everything worked without a single modification.
> 
> Rsync was my choice, maybe not the fastest in this situation but it
> worked.

Rsync will work (I use it myself), however it does not preserve any 
schg flags. dump 0f - / | (cd /target && restore xf -) will preserve 
schg.


Regards,                         Phone:  (250)387-8437
Cy Schubert                        Fax:  (250)387-5766
Team Leader, Sun/Alpha Team   Internet:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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