0

I have just made a lvm snapshot of /opt partition then mounted that lvm to a /data.Is there is any way to take incremental lvm snapshots ?

Savana Rohit
  • 50
  • 4
  • 12

1 Answers1

1

yes, it is possible try this, to create new LV snapshot:

lvcreate --size 100M --snapshot --name snap /dev/vg00/lvol1

read more at Red Hat Portal

Oz Bar-Shalom
  • 1,747
  • 1
  • 18
  • 33
  • 1
    This is full block, not an incremental or differential – tquang Mar 28 '19 at 07:12
  • 1
    If the lvm is --thin, then the --snapshots really can serve as incremental backup with copy-on--write. See https://github.com/rpm-software-management/mock/blob/devel/mock/py/mockbuild/plugins/lvm_root.py for exceptional example how to work with snapshots in LVM – judovana Jun 05 '19 at 10:26