Skip to content

west17m/zfs-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

zfs-sync

This is a wrapper for the zfs send/receive combination of commands. The goal is to allow a single cron command to perform full and incremental backups of one or more local zfs filesystems to one or more remote servers. I use http://www.funtoo.org/Keychain to help with remote authenication.

Usage

zfs-sync LOCAL_ZFS REMOTE_URI_LOGIN REMOTE_ZFS

Example

zfs-sync "tank/home" "[email protected]" "tank/backup/server1.tld.com"

The above will snapshot and send the contents of server1.tld.com's tank/home filesystem to server2.tld.com. On the first run, it will be the entire snapshot. On subsequent runs, it will be only the changes.

Log levels

  • 0 - emergency
  • 1 - alert
  • 2 - critical
  • 3 - error
  • 4 - warning
  • 5 - notice
  • 6 - info (default)
  • 7 - debug

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages