2

I'm looking for ways to create full/incremental snapshot backups on Linux for different file systems.

I wanted pointers on which LVM/Device mapper source files to look for regarding creating snapshots (COW mechanism) and where changed block bit maps are stored for incremental backups.

Is there API calls available on Device mapper to create a snapshot and get the dirty block bit map during incremental?

Also, is there any other mechanism available on Linux to create snapshots which is common across LVM volumes and raw disk file systems?

Spencer Wieczorek
  • 21,229
  • 7
  • 44
  • 54
Ramesh
  • 21
  • 3

1 Answers1

0

It's only a quick and partial answer, but since kernel 3.6, you can access the snapshot metadata and perform an incremental backup if you use the dm-thin target.

You will have more information in the commit message

mbarthelemy
  • 12,465
  • 4
  • 41
  • 43