ZFS Snapshot Replicator
Project description
zfs-replicate
https://github.com/alunduil/zfs-replicate
By Alex Brandt alunduil@gmail.com
Description
zfs-replicate sends all ZFS snapshots to a remote host via SSH. zfs-replicate does not create ZFS snapshots.
zfs-replicate is based on autorepl.py used by FreeNAS.
zfs-replicate is related to several other projects which fit other niches:
- sanoid: A full snapshot management system. Its companion application, syncoid, handles replication with many available options.
- zfs-replicate (BASH): A very similar project. The major differences are configuration style (our project uses parameters whereas this project uses a BASH script), and the system expectations (e.g., logging controls).
- 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, modify, 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 zfs CLI tools
- 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
- clone
- create
- destroy
- hold
- mount
- promote
- quota
- readonly
- receive
- rename
- reservation
- rollback
- send
- snapshot
- Command:
- Ensure the user can mount filesystems
- A local ZFS filesystem and zfs CLI 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 REMOTE REPLICATION SCRIPT WITH REPORTING
- 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-3.2.0.tar.gz.
File metadata
- Download URL: zfs_replicate-3.2.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
107ff1f4ad14c9b18a5df7b5d3d758f505c26fbe42b6d2d653d0a061d3fc3c46
|
|
| MD5 |
c96744ec39f96a092df890ece43ca3ff
|
|
| BLAKE2b-256 |
e6d7f9494c9ea4d499fd6169b4dfd7f3a2e5e3d704d6887c50f028b8049471b6
|
File details
Details for the file zfs_replicate-3.2.0-py3-none-any.whl.
File metadata
- Download URL: zfs_replicate-3.2.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e76a4782d81ae75c54a0b3df832cb0ecafb4c23e5b7fcdbd57a935bf576daa2a
|
|
| MD5 |
06126f734933022eaaf757e1348a3b14
|
|
| BLAKE2b-256 |
f41a03255e91543532c4dd036030520fa9b1affd32927737f72305d00de73cf1
|