Skip to content
/ zrep Public
forked from bolthole/zrep

ZREP ZFS based replication and failover script from bolthole.com

License

Notifications You must be signed in to change notification settings

janvrany/zrep

This branch is 1 commit ahead of, 2 commits behind bolthole/zrep:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 2, 2022
Mar 24, 2022
Jul 12, 2019
Mar 11, 2019
May 18, 2016
May 15, 2022
May 15, 2021
Nov 30, 2019
Mar 18, 2015
Mar 24, 2022
Mar 24, 2022
Feb 11, 2016
Sep 20, 2019
May 18, 2016
Mar 1, 2017
Oct 25, 2022
May 15, 2022
Nov 30, 2019
Mar 18, 2015
Mar 24, 2022
Mar 29, 2022
Apr 10, 2022
May 14, 2022
Oct 25, 2022
Oct 25, 2022

Repository files navigation

ZREP overview

ZREP is a ZFS based replication and failover script from bolthole.com

Got ZFS on two systems? Want to have (almost) idiotproof replication and master/servant switching between them? Install zrep with a single download and you're almost ready to go.

Super-Quick-and-dirty quickstart

Step 1: wget https://raw.githubusercontent.com/bolthole/zrep/master/zrep (and make it executable of course. Plus copy it to your second host)

Step 2: zrep -i pool1/prodfs host2 destpool/prodfs

Step 3: (put in cron, every minute if you like) zrep -S pool1/prodfs

And you're done! At least with a super-simple implementation. Note that this is a Korn shell script, so you will need /bin/ksh on your system.

Full documentation

Many, many more options and features are documented, at

http://www.bolthole.com/zrep/zrep.documentation.html

Note that to enable bash commandline completion, an additional download is needed;

sudo wget -O /etc/bash_completion.d/zrep https://raw.githubusercontent.com/bolthole/zrep-completion/master/src/zrep

About

ZREP ZFS based replication and failover script from bolthole.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 93.4%
  • Roff 5.7%
  • Makefile 0.9%