Encrypted LVM backup

Checkman CheckBox at mail.ru
Fri Aug 15 06:38:05 UTC 2008


Hello All,

I have to install an encryted Ubuntu on my system.
It is done with the Ubuntu alternate installer easily.
The configuration is going to be like this:
  /dev/sda1 - as /boot - primary bootable ext2/ext3 partition (unecrypted)
  /dev/sda2 - primary partition (physical encrypted partition)
    LVM with a volume group
      swap - as swap volume
      / - as root ext3 volume

The question is - how to backup effectively such a configuration
completely (there is no any problem with the unencrypted /boot)(?)

I might use any drive imaging software to make an image of the whole
physical encrypted partition (/dev/sda2), but I don't like this idea
cause it's a space consuming solution (encrypted data are not
compressible and software is not aware of the file system used
(occupied blocks)).

There're a lot of possible backup solutions (file/sector level):
  dd, dump/restore, rsync, partimage, g4u, ... mondo...
But I'm not very excited about checking them all one after another.

So if anybody has any experience with that let me know please.
Anyway if any ideas cross your mind let me know them as well.

Thanks.

P. S. I've installed a testing configuration on a virtual machine so
I'm ready for any dangerous experimenting...


-- 
Best regards,
 Checkman                          mailto:CheckBox at mail.ru





More information about the ubuntu-users mailing list