Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2005 23:48:39 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        phusion2k@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Make Image of Hard Drive
Message-ID:  <200507110348.j6B3mdF2008092@clunix.cl.msu.edu>
In-Reply-To: <c3ed3fdc0507101530522722de@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I recently built a FreeBSD server, and was wondering how I can make an
> image of the hard drive. I am going to build an another FeeBSD server
> using identical hardware. How can I make an image of the hard drive of
> the original server I built and copy/install it to the new server?
> Each server has a 6.4 GB hard drive. Is there a way I can create an
> image then install via the network to a new server in the future if
> need be? Let me know.

My suggestion is to use dump(8) and restore(8).

You can either dump to some media such as tape or pipe it
to a restore over a network connection.

Dump and restore will give you the best results.
You need to do a dump for each file system that you want on 
the new machine.  
You would need to build the filesystems on the new machine first
and then move the files to them.
Check file system sizes - the amount used in each - with df -k
If three is plenty of space available - not yet used, you can
dump to a file on the current machine and then ftp or scp each
dump file to the new machie and restore it in the respective 
file system.

////jerry

> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 




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