Ubuntu – How to take snapshots with LVM


This time when I installed Ubuntu off my LiveUSB I ticked the option to also install LVM for easier snapshot taking and partition resizing. But now even after looking in the LVM man page, I am still unsure of how to take a snapshot with it. So that is really my question, how do you use LVM to take snapshots on Ubuntu GNOME 15.04?

Best Answer

Use the lvcreate command along with the --snapshot option to take a snapshot.
To define the size add the --size option and to set a name add the --name option.
Select drive/partition/directory/folder where you want to store the snapshot.

Find more command line options from the Ubuntu lvcreate manual here.

And I found an excellent guide on to how use lvm snapshots for backups on tutonics