public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matthias Bethke <matthias@towiski.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Ghosting a Ext3 partition
Date: Wed, 5 Mar 2008 20:26:20 +0100	[thread overview]
Message-ID: <20080305192620.GB6951@aldous> (raw)
In-Reply-To: <47CCD270.9080200@paradise.net.nz>

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

Hi Mark,
on Tue, Mar 04, 2008 at 05:39:12PM +1300, you wrote:
>> {"Ghost" functionality]
>>   
> I actually think that 'dump' will do what you want... provided you can 
> choose a time when the machine is not busy (should be easy if it's your 
> desktop!). You have to do 1 dump per filesystem, but many desktop 
> installations only consist of / (+ maybe /boot) anyway. Also dump of a 80Gb 
> system that only uses 5Gb will produce a 5Gb image.... Also it can do 
> incremental an cumulative backups.
>
> Some friends of mine use Amanda to backup their (Redhat/Centos) servers, 
> that may worth looking at too.

Amanda is very versatile but it can be a bitch to configure and is IMHO
only really worth it for larger installations with at least more than
one machine and preferably a backup server. But it can also use dump(1)
internally. I didn't really follow the thread but it seems dump has a
problem with busy file systems? I used amanda with dump on several
machines for a few years and never had any so it should be fine for a
desktop.
One method I used for getting the image size down (but which is no good
on a live system) was to use "dd if=/dev/zero of=dummy bs=1M" to quicky
write a file of zeroes that would fill up all free blocks, then dd the
whole partition through gzip that would just compress away the free
blocks. Works fine for install images but only when the disk is not
mounted r/w during imaging.

cheers,
	Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665

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

  reply	other threads:[~2008-03-05 19:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 19:27 [gentoo-user] Ghosting a Ext3 partition Jonathan Haws
2008-03-01  1:23 ` maxim wexler
2008-03-01  7:04   ` Ritesh Kumar
2008-03-02  2:36     ` Dan Farrell
2008-03-02  4:29       ` Mark Kirkwood
2008-03-02  4:51         ` Mark Kirkwood
2008-03-02  7:48           ` Rasmus Andersen
2008-03-02  8:51             ` Mark Kirkwood
2008-03-02 13:43               ` Rasmus Andersen
2008-03-02 23:43                 ` Mark Kirkwood
2008-03-03 20:17                   ` Jonathan Haws
2008-03-04  4:39                     ` Mark Kirkwood
2008-03-05 19:26                       ` Matthias Bethke [this message]
2008-03-04  8:07                     ` [gentoo-user] " Michael Schmarck
2008-03-01  2:53 ` [gentoo-user] " Mark Kirkwood
2008-03-01 10:47 ` Etaoin Shrdlu
2008-03-01 10:49 ` Florian Philipp

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=20080305192620.GB6951@aldous \
    --to=matthias@towiski.de \
    --cc=gentoo-user@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