/dsnapshot

The dsnapshot script provides a high-level interface to the Linux Logical Volume Manager (LVM). It uses its block-level snapshot support to create directory-level snapshots.

Primary LanguagePython

dsnapshot

The dsnapshot script provides a high-level interface to the Linux Logical Volume Manager (LVM). It uses its block-level snapshot support to create directory-level snapshots.

Usage

Create a new snapshot (returns a path/handle to the snapshot):

$ dsnapshot --create /srv/mysql/test/
/var/lib/dsnapshot/srv-fdf2e6dc/mysql/test/

Remove this snapshot:

$ dsnapshot --remove /var/lib/dsnapshot/srv-fdf2e6dc/mysql/test/

Todo

  • add support for other backends like btrfs, freebsd etc.

Links

http://benjamin-schweizer.de/dsnapshot.html