taking lvm backup

Matt Darcy ubuntu.lists at projecthugo.co.uk
Tue Sep 28 10:42:12 UTC 2010


On 28/09/10 09:57, Alvin wrote:

> One way to take a backup is to convert the LVM volumes to compressed qcow2 
> images, like this:
> # qemu-img convert -c -f raw -O qcow2 /dev/nintendo/lvm1 /backup/lvm1.img
> 

That's a nice trick, I like that.

Why are you trying to back the in use volumes up at a raw device level
and not at the file system level.

Mount them - take a look at what's on them/size of them, back them up
and unmount them

Matt




More information about the ubuntu-server mailing list