Deprecated
I never got around to actually finishing this project. With the rise of filesystems that support snapshotting and deduplication this project has become less relavant for me. I'd suggest using obnam or ZFS as alternatives to rdiff-backup workflows.
rdiff-simple
A simple wrapper around rdiff-backup
Installation
$ gem install rdiff-simple
Usage
In your file:
require 'rdiff_simple'
rdiff = RdiffSimple::RdiffBackup.new
rdiff.backup('/source', '/destination', :print_statistics, exclude: '/source/private')
rdiff.verify('/destination')
License
Released under the MIT License. See the LICENSE file for further details.