From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 09:29:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 333831065673 for ; Mon, 8 Dec 2008 09:29:47 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id AC16C8FC18 for ; Mon, 8 Dec 2008 09:29:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L9cQz-0007xy-6W for freebsd-questions@freebsd.org; Mon, 08 Dec 2008 09:29:45 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Dec 2008 09:29:45 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Dec 2008 09:29:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 08 Dec 2008 10:29:36 +0100 Lines: 53 Message-ID: References: <493AFD81.6020705@polands.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig936B3BBBCB939AE70B11CDEB" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <493AFD81.6020705@polands.org> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Backup complete gmirror/gstripe/gjournal drives, how-to? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 09:29:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig936B3BBBCB939AE70B11CDEB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Doug Poland wrote: > Hello, >=20 > I've got a 7.1-PRERELEASE i386 box with 4 SATA drives configured in a > RAID-10 using gmirror, gstripe, and gjournal. Normally, I use dump and= > rsync for periodic backups on this machine, but I suspect that the > gmirror/gstripe/gjournal information is not being backed up. >=20 > If my assumption is correct, how can I perform a "one-time" backup such= > that I could do a bare-metal restore? The essence of the question bein= g > I want to preserve not only the data, but also the > gmirror/gstripe/gjournal meta-data as well. >=20 > The only thought that comes to mind is to boot with a 7.1 live > filesystem CD-ROM and "dd" each drive, piping the results to my backup > machine. e.g., >=20 > host# dd if=3D/dev/ad4 bs=3D2m | gzip | nc backuphost 12345 > host# dd if=3D/dev/ad6 bs=3D2m | gzip | nc backuphost 12346 > host# dd if=3D/dev/ad10 bs=3D2m | gzip | nc backuphost 12347 > host# dd if=3D/dev/ad12 bs=3D2m | gzip | nc backuphost 12348 >=20 > Any thoughts, suggestions, caveats? I hope you understand the problems with this kind of backup procedures. Assuming that ad4,6,10,12 are the drives from which you created your RAID-10, everything is "backed up", including GEOM metadata. --------------enig936B3BBBCB939AE70B11CDEB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJPOkAldnAQVacBcgRAkSIAKCb4nuHGx1muWwzE6qPohQULNlYMACcCDwI IgyVy1uRbEQoj44s2t3zi5o= =NtVP -----END PGP SIGNATURE----- --------------enig936B3BBBCB939AE70B11CDEB--