Projects / zrep


zrep provides an easy-to-use program to manage zfs filesystem replication and failover. No configuration files are required. The program is developed under Solaris, but may work with any up to date zfs implementation. The executable is a single script. Initialization does a full data copy, but subsequent syncs are incrementals. It uses internal locking to make sure there is no danger of overlap if you just shove it in cron to run every minute. Design target is more "near-time replication", since the sync can be run every minute or more. However, it could conceivably be used for "backup" purposes as well.

Operating Systems

Recent releases

  •  13 May 2013 18:11

    Release Notes: This release fixes the format of the timestamp for the initial sync snapshot.

    •  23 Nov 2012 16:10

      Release Notes: This release adds capability for "pull" updates (zrep refresh), so that it is possible to use zrep in a central backup server capacity. This release also makes invocation of Perl more flexible, to be kinder to non-Solaris OSes.

      •  08 Nov 2012 20:22

        Release Notes: This release adds new subcommands: snaponly and synconly. This allows for short downtime of things like databases, to take the snap, then run the actual sync in the background after the database has been cleanly resumed.

        •  17 Oct 2012 17:40

          Release Notes: This release adds support for the ZREP_CREATE_FLAGS environment variable. This allows the ability to override default creation properties on the remote replica side on initial sync, for those who do not have a ZFS that is advanced enough to support "recv -x".

          •  16 Aug 2012 19:48

            Release Notes: This release has a trivial one-line fix for a trivial bug for older versions of zrep.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.