Backing up LVs
Gabriel M Dragffy
dragffy at yandex.ru
Sun Aug 6 20:54:08 UTC 2006
On Sun, 2006-08-06 at 15:42 +0200, Alexander Skwar wrote:
> No, as explained above. But actually, I'd rather suggest to use
> partimage to make images, as partimage knows the filesystem and
> then only copies those blocks, which contain data. Ie. an image
> of a 10gb "partition" where only 1mb is used, will be about 1mb
> ("about", as I suspect some overhead).
>
> partimage takes an image of ANY block device. Thus I'd use it
> in combination with LVM snapshots.
That sounds perfect, I would like the image to only be the size of the actual data content.
But will I be able to use partimage to backup a single logical volume,
I'd like to backup / which is about 4gb and not 54gb for the whole pe.
> If you're after *fast* compression, then I'd suggest to use lzop
> instead of bzip2 as a compressor - I'd suggest to NOT use gzip,
> as a gzip compressed file will *completely* break, when one bit
> is faulty. Not so with bzip2 (don't know about lzop).
>
> Most of the time you'll get the best "compression" with partimage,
> though. And it'll be fastest. partimage also supports On-The-Fly
> compression (with a gzip alg., I suppose).
>
> Alexander Skwar
> --
> Wer Berlin zur neuen Hauptstadt macht, schafft geistig ein neues
> Preussen.
> -- Konrad Adenauer
>
>
>
More information about the ubuntu-users
mailing list