Skip to content

ava1ar/zfs-send-receive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

zfs-send-receive

ZFS replication (send/receive) helper script

###Supported features:

  • zfs send/receive on remote box in push mode (script should run on source box)
  • supports ssh and nc as transports

###Usage example:

  • Sending data/files dataset to data/files on remote machine with ip 192.168.1.253 using nc with verbose enabled:

./zfs-send-receive.sh -s data/files -d data/files -r 192.168.1.253 -t nc -v

  • Sending data/downloads dataset to data/downloads on remote machine with ip 192.168.1.253 using ssh with super verbose enable:

./zfs-send-receive.sh -s data/downloads -d data/downloads -r 192.168.1.253 -t ssh -vv

###Version history: ####0.1

  • initial version. Supports remote replication only using ssh and nc. Following command line flags are available: -R -p -F -n -v -vv (see usage for details)

###Pending features:

  • User impersonation (change user before running zfs send/receive)
  • Local replication
  • Resumable zfs send/receive (-s / -t flags)
  • Differential replication (-I flag)
  • Large blocks / embedded data support (-l / -e flags)

You may use, distribute and copy zfs-send-receive code under the terms of GNU General Public License version 2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html

About

ZFS replication (send/receive) helper script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages