GitXplorerGitXplorer
d

bdrsync

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
e42c714f4b16320bc7d66ab058f726dca4e8453d

Amend clean target

ddottedmag committed 13 years ago
Unverified
6b705f3568d39cc96d0268490c304ce73be0e2b6

Clarify motivation

ddottedmag committed 13 years ago
Unverified
e7e1c999ef555c76c2b9f8a97946d4d0ec676180

Add README

ddottedmag committed 13 years ago
Unverified
d18b532cf03c99c8d075a735365743370cbff77f

Do not state the obvious

ddottedmag committed 13 years ago
Unverified
1ebf65ebb940397eb7c139b160c6b386739dec8f

Make internal functions static

ddottedmag committed 13 years ago
Unverified
4d9b37e803c7a7d3c5b1e1dd0d2129bace7937be

const'ify longopts

ddottedmag committed 13 years ago

README

The README file for this repository.

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