On one server I have an rsync module configured for an entire pool /mnt/MyPool. On the other I perform a daily client sync to an identical pool name. This has been working fine for years, but I have never been sure if I should do this or instead rsync each dataset.... The only down side I can see is that when adding a new dataset I must do the same on both servers.
My zfs:
Code: Select all
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
MyPool 1.41T 2.57T 47.7K /mnt/MyPool
MyPool/alex 44.7G 1.46T 44.7G /mnt/MyPool/alex
MyPool/backup 73.3G 2.57T 73.3G /mnt/MyPool/backup
MyPool/helen 47.7K 200G 47.7K /mnt/MyPool/helen
MyPool/media 1.27T 2.57T 1.27T /mnt/MyPool/media
MyPool/pub 18.1G 2.57T 18.1G /mnt/MyPool/pub
MyPool/wayne 482M 2.57T 482M /mnt/MyPool/wayne
