Skip to main content

Incrementally clones Linux drives

Project description

Installation | Basic Usage | Documentation | Contributing

WereSync Logo

A lone hard drive stands atop a data heap, staring at the full moon. Suddenly, it transforms…into a bootable clone of your drive, whirring hungrily at the digital moon.

WereSync takes a Linux hard drive and effectively clones it, but works incrementally so you don’t have to spend so long backing up each time. Additionally, WereSync can clone to a smaller drive, if your data will fit on the smaller drive. Because WereSync uses rsync to copy, it can copy a running drive, though certain parts of state may not be preserved.

Why Use WereSync?

Hopefully, you think this project looks amazing and you want to try it right away. However, you may be skeptical about the usefulness of WereSync. You may be thinking, I can do this exact same thing using gparted or ddrescue. Hear me out! There are a few reasons to use WereSync over the other tools.

  • WereSync is accessible to less-technical users. It comes with a simple interface and clone a drive with a single command while your computer is running. No booting to a live disk or pushing through a long initiation process. Unlike dd or CloneZilla, WereSync requires a low level of technical skill and has an easy learning curve

  • WereSync can run while the your main drive is being used, instead of blocking your computer up for hours at a time

  • WereSync will incrementally update clones, making subsequent clones much faster.

  • WereSync works quickly, a single command copies your entire drive, no booting to live CDs or managing MBRs.

  • WereSync can copy to a smaller drive, provided your drive’s data will fit.

  • WereSync creates new UUIDs for the new partitions, allowing you to use the old and new drives alongside each other.

Full documentation may be found here.

Installation

WereSync can be installed using the setup.py file.

$ ./setup.py install

If you have pip installed, you can easily install WereSync with the following command:

$ pip install weresync

For more in-depth instructions, see the installation documentation.

Basic Usage

Note: WereSync requires root capabilities to run because it has to access block devices.

The gui can be launched with the command:

$ sudo weresync-gui

Which generates the following GUI, though generally the advanced options are unneeded:

Picture of WereSync GUI

To see the options for the terminal command use:

$ weresync -h

To copy from /dev/sda to /dev/sdb (the two drives must have the same partition scheme) use:

$ sudo weresync /dev/sda /dev/sdb

For more information, including how to copy the partition table from drive to another, see the Basic Usage documentation page.

Documentation

Documentation can be found on the Read the Docs.

Contributing and Bug Reports

First, take a look at our contribution guidelines.

To contribute simply fork this repository, make your changes, and submit a pull request. Bugs can be reported on the issue tracker

WereSync currently has huge need of people testing the program on complex drive setups. In order to do this please:

  1. Install WereSync from pip:

    pip install weresync
  2. Run it on your system:

    sudo weresync -C source_drive target_drive
  3. Report any errors to the issue tracker. Please be sure to post the contents of /var/log/weresync/weresync.log and fdisk -l.

All contributions will be greatly appreciated!

Distributions Capability for Drive Copying

ubuntu debian arch centos fedora opensuse

If you are able to test any of these systems, please report your exprience at the issue tracker. Any help will be much appreciated.

Licensing

This project is licensed under the Apache 2.0 License. Licensing is in the LICENSE.txt file in this directory.

Acknowledgments

Huge thanks to the creators of:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WereSync-1.0.3.tar.gz (66.4 kB view details)

Uploaded Source

Built Distributions

WereSync-1.0.3-py3.4.egg (150.3 kB view details)

Uploaded Egg

WereSync-1.0.3-py3-none-any.whl (109.0 kB view details)

Uploaded Python 3

File details

Details for the file WereSync-1.0.3.tar.gz.

File metadata

  • Download URL: WereSync-1.0.3.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for WereSync-1.0.3.tar.gz
Algorithm Hash digest
SHA256 33921add1c7fde388d49b871d0ea3b12382977c10a66710624db0d2df121b277
MD5 08cd9639939e5bda9f596855f61ccb43
BLAKE2b-256 7f6958781505bcdc4f34273d48740f442c684426e0ac12c4e681804ebb02af5c

See more details on using hashes here.

File details

Details for the file WereSync-1.0.3-py3.4.egg.

File metadata

  • Download URL: WereSync-1.0.3-py3.4.egg
  • Upload date:
  • Size: 150.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for WereSync-1.0.3-py3.4.egg
Algorithm Hash digest
SHA256 27fd8a3ac17f0a3a37eaa32893d434bfcaad2936b3b8ccc10619a29cb1d6a948
MD5 a95a77d01ac49c6ab35e840188a0fa48
BLAKE2b-256 5c0fc78778171cfe755ddd6fdc15158a86cf20c6122c7ecbd47959c65cee3351

See more details on using hashes here.

File details

Details for the file WereSync-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for WereSync-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d08306cb3ffde8548a149031693a08c83bba8b4f2db6519782345e645d7d5d1
MD5 a1a88d4f77d7869a0c8e4712a1881752
BLAKE2b-256 4ef36fb13a0b836ae9bbec11b565cf58de70fbb6ddba1d155f3562a7a9810365

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page