public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matthias Bethke <Matthias.Bethke@gmx.net>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Imaging software for a production server
Date: Mon, 5 Sep 2005 23:07:32 +0200	[thread overview]
Message-ID: <20050905210732.GA9668@huxley.linguistik.uni-erlangen.de> (raw)
In-Reply-To: <43182C06.5030403@vehok.vein.hu>

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

Hi Marton,
on Friday, 2005-09-02 at 12:40:06, you wrote:
> Maybe you could use 'dd if=/dev/hdx of=/path/to/destination/file' or 
> something similar though you have to choose another partition for the image.

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
-- 
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

[-- Attachment #2: Type: application/pgp-signature, Size: 481 bytes --]

  reply	other threads:[~2005-09-05 21:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-18 22:09 [gentoo-server] webmail software Michael Irey
2005-08-18 22:19 ` Jeff Rooney
2005-08-19  4:29 ` kashani
2005-08-19  7:24   ` Pierre Cassimans
2005-11-20 18:56     ` Radu Herinean
2005-11-20 18:59       ` Dan Noe
2005-11-20 19:03         ` Craig Webster
2005-11-20 20:15           ` Chris
2005-11-20 20:21             ` Craig Webster
2005-08-20  5:41 ` A. Khattri
2005-08-30 13:56 ` Patrick McLean
2005-08-30 15:56   ` Joby Walker
2005-09-02  9:16     ` [gentoo-server] Imaging software for a production server Luca Dell'Oca
2005-09-02 10:40       ` Marton Gabor
2005-09-05 21:07         ` Matthias Bethke [this message]
2005-09-07  8:33           ` Luca Dell'Oca
2005-09-07 15:33             ` Matthias Bethke
2005-09-02 17:25       ` Kirk Hoganson
2005-09-06  4:41       ` Michael Irey
2005-09-06  5:54         ` Joey
2005-09-06 13:59           ` David Miller
2005-08-31 18:30   ` [gentoo-server] webmail software Tim Igoe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050905210732.GA9668@huxley.linguistik.uni-erlangen.de \
    --to=matthias.bethke@gmx.net \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox