A wrapper script for rsync 3.0+ that is capable of producing a bootable clone of a live Mac OS X system.
Features extensive error handling, automatic logging, stats generation, Open Directory and PostgreSQL backup, and a companion Nagios plugin for monitoring clone completion and statistics.
A comprehensive README file is available, and offers information on all options, exit codes, and a full process rundown on Counterpart’s logic and order.
The project is open, and the full source is available on GitHub.
The easiest way to install Counterpart on your Mac is using Homebrew. Click the big green “Install Counterpart” button above, or click here for instructions on how to install Homebrew and Counterpart.
Counterpart supports (and was designed for) scheduling with launchd. This is a great way to always have a bootable clone of your OS that is extremely recent. For more information on scheduling Counterpart, see this article (SCHEDULING.md) on GitHub.
Should you have any trouble setting this up, or encounter problems, feel free to get in touch.
The project’s Issues Tracker is the best place to let me know of any specific issues or bugs that you find.
Counterpart is Copyright © 2013 Jedda Wignall, and is is distributed under the terms of the GNU General Public License.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/