1 |
Hi Marton, |
2 |
on Friday, 2005-09-02 at 12:40:06, you wrote: |
3 |
> Maybe you could use 'dd if=/dev/hdx of=/path/to/destination/file' or |
4 |
> something similar though you have to choose another partition for the image. |
5 |
|
6 |
Don't do that. It will appear to work but usually introduces subtle |
7 |
inconsistencies in the FS structure that fsck may or may not catch, |
8 |
especially when there's constant FS activity like on a mail server. This |
9 |
is only safe for partitions that are mounted read-only. |
10 |
I haven't done anything like this, and I'd think it's not really |
11 |
necessary when you have several machines available anyway (each usually |
12 |
with several partitions, unlike Windows where that's a necessary |
13 |
feature) but I'd suggest dump(1). dump can exclude inodes, so something |
14 |
like |
15 |
|
16 |
touch dumpfile |
17 |
dump -f- -e$(ls -i dumpfile | sed 's/ [[:alpha:]]\+//') /some/mount/point |
18 |
|
19 |
should do roughly what you want. If you use EXT[23] FS that is... |
20 |
|
21 |
regards |
22 |
Matthias |
23 |
-- |
24 |
I prefer encrypted and signed messages. KeyID: 90CF8389 |
25 |
Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91 |