Date: Mon, 11 Jul 2005 01:00:00 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu> To: Phusion <phusion2k@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Make Image of Hard Drive Message-ID: <42D1A870.7070400@t-hosting.hu> In-Reply-To: <c3ed3fdc0507101530522722de@mail.gmail.com> References: <c3ed3fdc0507101530522722de@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Phusion wrote: >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. > There is the dd command. You can make a copy into a file in the following way: dd if=/dev/ad0s1a of=/usr/home/you/backup (ad0s1a is your partition that You want to backup, and the backup goes to the /usr/home/you/backup file.) Transfer the backup to the another machine and type: dd if=/path/to/backup of=/dev/ad0s1a It is very simple and straightforward. The if option always refers to the input and the of refers to the output. See dd(1) for further info. There is an another utility made for complete partition backups, called dump. See: dump(8). Cheers, Gábor Kövesdán
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D1A870.7070400>
