BSD Ports

filesystems/zrepl 0.6.1_10 DragonFly

ZFS dataset replication tool

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
filesystems, sysutils
Package size
4787.3 KiB, 16622.3 KiB installed

Description

Cross-platform ZFS replication tool written in Go that supports feature detection, bookmarks, and other new features.

In the other systems

SystemPortVersion
DragonFlyfilesystems/zrepl0.6.1_10
FreeBSDfilesystems/zrepl0.7.0_10
NetBSDsysutils/zrepl0.6.1nb14

Install

Binary package:

pkg install zrepl

From DPorts:

cd /usr/dports/filesystems/zrepl && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Messages from filesystems/zrepl:

SETUP BEFORE FIRST USE:
- Create the log file /var/log/zrepl.log:
  # service newsyslog restart
- Teach syslogd to redirect facility local0 to the zrepl.log file:
  # service syslogd reload
- Modify the /usr/local/etc/zrepl/zrepl.yml configuration file
- For remote backups, create the SSH key pair and authorized_keys file
- Enable the zrepl daemon to start automatically at boot:
  # sysrc zrepl_enable="YES"
- Start the zrepl daemon:
  # service zrepl start
  
Documentation: https://zrepl.github.io/
Changelog:     https://zrepl.github.io/master/changelog.html

DANGER - SNAPSHOT PRUNING REQUIRES EXPLICIT KEEP RULES:
For any ZFS snapshot that you want to keep, at least one rule must match.
This also applies to snapshots taken by means other than zrepl
(e.g. snapshots taken manually or via boot environment tools).

In order to automatically warn the operator of impending certificate
expiration, add this line to /etc/periodic.conf:

    weekly_zrepl_enable="YES"

More config details in the zrepl periodic script:

    /usr/local/etc/periodic/weekly/500.zrepl