Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Block devices synchronization tool

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 bdrsync.c
README.md

bdrsync

This Linux-specific tool efficiently copies contents of one block device to another, by reading devices block-by-block and only writing to second device blocks with non-matching content.

It is more efficient than plain dd(1) if the following conditions are met:

  • infrequent writes to the second device do not ruin speed of linear read,
  • second device write speed is way slower than read speed.

Otherwise don't bother, and just use dd(1).

Note: this tool does not do any locking or thawing of filesystems, so copy might not be an exact snapshot of source device at any moment of time. IOW, use it with caution, during low-activity time, and on journalled filesystems.

Motivation

Implementation of JWZ backups scheme for laptop with complex structure of LVM volumes and USB-attached hard drive.

License and Copyright

GNU GPLv2+

© 2009-2011 Mikhail Gusarov dottedmag@dottedmag.net

Something went wrong with that request. Please try again.