Gentoo Archives: gentoo-server

From: Matthias Bethke <Matthias.Bethke@×××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Imaging software for a production server
Date: Wed, 07 Sep 2005 15:35:27
Message-Id: 20050907153342.GB19090@huxley.linguistik.uni-erlangen.de
In Reply to: Re: [gentoo-server] Imaging software for a production server by Luca Dell'Oca
1 Hi Luca,
2 on Wednesday, 2005-09-07 at 10:33:44, you wrote:
3 > >touch dumpfile
4 > >dump -f- -e$(ls -i dumpfile | sed 's/ [[:alpha:]]\+//') /some/mount/point
5 > >
6 > >should do roughly what you want. If you use EXT[23] FS that is...
7 >
8 > Uhm, no, I'm using ReiserFS, it's the same xyntax? Or maybe dump does
9 > not work with reiser file system?
10
11 No, it's FS specific. I just checked
12 http://www.namesys.com/faq.html#dumprestoretar, and it tells you to use
13 gnutar. Should be fine as well if you don't need a bit-for-bit image of
14 the original FS, which dump wouldn't give you either. gnutar's option
15 you're looking for is --exclude.
16
17 regards
18 Matthias
19
20 --
21 I prefer encrypted and signed messages. KeyID: 90CF8389
22 Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91