ZFS Snapshot Replicator
Project description
zfs-replicate
https://github.com/alunduil/zfs-replicate
By Alex Brandt alunduil@gmail.com
Description
zfs-replicate sends all Zettabyte File System (ZFS) snapshots to a remote host by SSH. zfs-replicate does not create ZFS snapshots.
zfs-replicate forks autorepl.py used by FreeNAS.
zfs-replicate relates to several other projects, which fit other niches:
- sanoid: A full snapshot management system. Its companion,
syncoid, handles replication with copious options. - zfs-replicate (BASH): A similar project. The major differences include configuration style and system expectations (for example, logging controls). zfs-replicate uses parameters whereas zfs-replicate (BASH) uses a BASH script.
- znapzend: Another scheduling and replicating system.
- zrep: A SH script with several control commands for snapshot replication.
Terms of use
You are free to copy, change, and distribute zfs-replicate with attribution
under the terms of the BSD-2-Clause licence. See the LICENSE for details.
Prerequisites
- A remote system with a ZFS filesystem and the
zfscommand-line tools - If using lz4 compression, local and remote systems must have lz4 in their environments
- SSH access to that remote system
- If you're not using the root user remotely:
- Ensure the user can mount filesystems
- FreeBSD:
sysctl -w vfs.usermount=1
- FreeBSD:
- Add ZFS permissions
- Command:
zfs allow ${USER} ${PERMISSIONS} ${BACKUP_DATASET} - Permissions
clonecreatedestroyholdmountpromotequotareadonlyreceiverenamereservationrollbacksendsnapshot
- Command:
- Ensure the user can mount filesystems
- A local ZFS filesystem and
zfscommand-line tools
N.B., don't use the root user to access your remote system.
How to use zfs-replicate
poetry installpoetry run -- zfs-replicate --help
Documentation
zfs-replicate --help: Help for zfs-replicate.- LICENSE: Licence file explaining usage of zfs-replicate.
- Survey of ZFS Replication Tools: Overview of various ZFS replication tools and their uses.
- Working With Oracle Solaris ZFS Snapshots and Clones: Oracle's guide to working with ZFS snapshots.
- ZFS replication without using Root user: How to configure ZFS replication for a non-root user.
Getting support
- GitHub issues: Report any problems or features requests to GitHub issues.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zfs_replicate-4.0.0.tar.gz.
File metadata
- Download URL: zfs_replicate-4.0.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f560f6216ec6471305ee139af074c8ffe72e3a355a60c4f83a7ad853fc4580c1
|
|
| MD5 |
f109522cab01107dfa64ffe1abfe39e4
|
|
| BLAKE2b-256 |
b034eeb81d2ff99fc50a0a28dae6d48c5f6f087d54efa9f6fecf37a5231aa87a
|
File details
Details for the file zfs_replicate-4.0.0-py3-none-any.whl.
File metadata
- Download URL: zfs_replicate-4.0.0-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
743bc5f95d87d1ce73359910054104aa95c5f195acd6bd12c82d8db828ec2ab2
|
|
| MD5 |
9cea96b5258346be0effc8018c7ef8f4
|
|
| BLAKE2b-256 |
631050b25c8922c7476dd8720e572bf46d564aa30b249d5c1ac6b17dabeb8ebf
|