E-mail
Mike

ceph_apply_diff

This program applies a diff file exported from Ceph via the 'rbd export-diff' command onto a full image file.

Usage: ./ceph_apply_diff

The diff file will be written into the full image file.

Example:

$ rbd export vm/server1@snap1 server1.img
$ rbd export-diff vm/server1 --from-snap snap1 snap1.diff

$ ceph_apply_diff server1.img snap1.diff

The file server1.img is now current, as if you had run rbd export vm/server1.

Download version 0.1

ceph_apply_diff is released under the GNU General Public License.