From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1ECOEO-0008PM-D7 for garchives@archives.gentoo.org; Mon, 05 Sep 2005 21:10:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j85L4QiY017019; Mon, 5 Sep 2005 21:04:26 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j85L4PIG012769 for ; Mon, 5 Sep 2005 21:04:26 GMT Received: (qmail invoked by alias); 05 Sep 2005 21:07:38 -0000 Received: from notebook5.linguistik.uni-erlangen.de (EHLO huxley.mblan) [131.188.185.195] by mail.gmx.net (mp028) with SMTP; 05 Sep 2005 23:07:38 +0200 X-Authenticated: #428074 Received: by huxley.mblan (Postfix, from userid 1000) id 8125F382428; Mon, 5 Sep 2005 23:07:32 +0200 (CEST) Date: Mon, 5 Sep 2005 23:07:32 +0200 From: Matthias Bethke To: gentoo-server@lists.gentoo.org Subject: Re: [gentoo-server] Imaging software for a production server Message-ID: <20050905210732.GA9668@huxley.linguistik.uni-erlangen.de> References: <200508181509.28863.michael@irey.org> <43146570.9060902@cs.ubishops.ca> <431481C2.6020207@imperium.org> <43181888.30402@food4brain.org> <43182C06.5030403@vehok.vein.hu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <43182C06.5030403@vehok.vein.hu> User-Agent: Mutt/1.5.8i X-Y-GMX-Trusted: 0 X-Archives-Salt: 64332873-85cf-4444-9654-1b012b9b95e8 X-Archives-Hash: 05602de5516529655332de3ec83a58f2 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Marton, on Friday, 2005-09-02 at 12:40:06, you wrote: > Maybe you could use 'dd if=3D/dev/hdx of=3D/path/to/destination/file' or= =20 > something similar though you have to choose another partition for the ima= ge. Don't do that. It will appear to work but usually introduces subtle inconsistencies in the FS structure that fsck may or may not catch, especially when there's constant FS activity like on a mail server. This is only safe for partitions that are mounted read-only. I haven't done anything like this, and I'd think it's not really necessary when you have several machines available anyway (each usually with several partitions, unlike Windows where that's a necessary feature) but I'd suggest dump(1). dump can exclude inodes, so something like touch dumpfile dump -f- -e$(ls -i dumpfile | sed 's/ [[:alpha:]]\+//') /some/mount/point should do roughly what you want. If you use EXT[23] FS that is... regards Matthias --=20 I prefer encrypted and signed messages. KeyID: 90CF8389 Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91 --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iQEVAwUBQxyzlK/BjwuQz4OJAQJ78gf9HKIOKi0stZ2DxwRBPHdkYUtSZaSd2A6v WtvbAcl0X/h/69cCMgMJRRC9lKDmkZoVMX3pPZvAy88ViS9yQpARTwO5iFGkQS7x dELUs1zpYUlOEuOACOmWRinmTyB1Wady2BDwtlOjbPI50kPFJe1ALxTbSrOZ5MX3 M+zg6O3kenkpkUejr2+XhBrU0/QEBq9oB8cGrdZWg53QRk3817qwJ3GL26cb01VE gfVkeXpeFPqP7ljhn+e1Lmhfgpxg+RjbpxLgIPrGYJzdnX1Hdg6ouBb3UTo/R+Fc 5+F9cKwA3Yo00tntwsYPhhX2njrHe2GdK/hzRjWxmrULaVRIAmgT9A== =BzC1 -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6-- -- gentoo-server@gentoo.org mailing list