Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 18:07:02 -0800
From:      Michael DeMan <michael@staff.openaccess.org>
To:        Shaun Dwyer <shaun@crystal.com.au>, Adrian Gonzalez <adrianbsd@globalpc.net>, <freebsd-isp@freebsd.org>
Subject:   Re: Symantec Ghost-like app for UFS?
Message-ID:  <BA7826C6.2DE6E%michael@staff.openaccess.org>
In-Reply-To: <3E52E523.5010606@crystal.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
We've used rsync in a similar fashion...

rsync  -v -rlpogDt --exclude=/mnt /* /mnt




On 2/18/03 6:00 PM, "Shaun Dwyer" <shaun@crystal.com.au> wrote:

> I did this recently on one of my machines using tar...
> 
> the procedure is:
> 
> do minimal install on new disk for the purposes of creating partitions
> and installing the bootloader etc,
> 
> boot off old disk in single user mode, mount new drive and then use tar
> to the following...
> for example, to do /usr,
> 
> cd /usr
> tar cvf - --one-file-system * | tar xf - -C /mnt/new_usr
> 
> --one-file-system stops tar from crossing mount points, so this will work for
> the root partition too :)
> 
> This is the way to do it if you are moving to a different sized disk and want
> to change the paritition sizes.
> 
> If you want to 'clone' a stack of machines, you can build one up as you want
> it,
> and then just use dd in a 3rd machine.. ie, boot off disk 0, clone disk 1 to
> disk 2.
> 
> dd if=/dev/rad1 of=/dev/rad2
> 
> You may find that specifying a block size (eg bs=1m) helps to increase speed.
> systat -vmstat will show you how many MB/sec the disks are doing.
> 
> --Shaun
> 
> Adrian Gonzalez wrote:
>> 
>> Is there anything out there that resembles Symantec Ghost but works with
>> FreeBSD partitions?
>> 
>> Basically I want to be able to transfer a FreeBSD installation from an
>> old hard drive to a new one without having to reinstall, reconfigure, etc.
>> 
>> Thanks
>> 
>> -Adrian
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-isp" in the body of the message
>> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 

Michael F. DeMan
Director of Technology
OpenAccess Internet Services
1305 11th St., 3rd Floor
Bellingham, WA 98225
Tel 360-647-0785 x204
Fax 360-738-9785
michael@staff.openaccess.org




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA7826C6.2DE6E%michael>