Backing up LVs

Alexander Skwar listen at alexander.skwar.name
Sun Aug 6 14:08:30 UTC 2006


ยท Gabriel M Dragffy <dragffy at yandex.ru>:

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

Actually, you'll *ONLY* be able to do so. I don't think that it'll
be possible to backup /dev/hda. Instead, you'll have to image all
the partitions (in old style partitioning) or all the logical volumes.

Partimage also supports NTFS, BTW. It's labeled as "experimental", but
this that it might not be able to image every NTFS partition. But if
it created an image, then that image will be good.

IMO no need for some cheapo closed source junk ;) OS rules! *G*

Alexander Skwar
-- 
Weinlese 
  "Watt steht da auffer Buddel geschriem?"






More information about the ubuntu-users mailing list