Etienne Molinier
2009-Nov-08 02:27 UTC
[zfs-discuss] Bidirectional online point-in-time replication
Here is my wish : I build a Homeserver, with a great ZFS pool, and it''s my local fileserver. Now my brothers build itself the exact same server (he''s living in another country). I''d like to backup my files on his server, and his on mine, but kinda share the things, so he can read my datas, and I his... Let say I organize the datas this way : mypool/toxic (is the directory I put my datas in, only I have RW acces) mypool/toxic/private (Only I have Read acces on it others can''t read it, but it''s still sync, and an admin on the system have RW) mypool/brother (his directory, he puts everithing in it, i Have ReadOnly) mypool/public (everyone has RW, but the sync mechanism has a Master-Slave hieratchy to prevent from conflicts at sync-time, if not Master/slave hierarchy, then the admin could decide in case of conflict.) Now I''d like to be able to use my homeserver normally, and have it backed up at my brother''s place once a week. And He would benefit from the same service : a NAS localy and backed up at my place... I insist on the fact that I want to be able to read my brother''s datas, and for the bidirectional public directory, both of us shoud be able to RW, and sync is still once a week... My question is : how do I manage to get this working ? Is there some fancy NFS feature allowing that ? Do I have to use some third-party software ? The thing is that I actually would like to benefit from the fact that my brother have a NAS too (opensolaris too), and so backup my datas at his place, so he can access some of them (others I keep just private so he don''t have read acces, but it''s still backed up on it''s server, and the admin of hi''s server can acces is, I don''t mind... I couldn''t find any hint on google, so if anyone knows a howto to get something similar working... Thank you for any help ! -- This message posted from opensolaris.org
Richard Elling
2009-Nov-08 02:45 UTC
[zfs-discuss] Bidirectional online point-in-time replication
rsync -- richard On Nov 7, 2009, at 6:27 PM, Etienne Molinier wrote:> Here is my wish : > I build a Homeserver, with a great ZFS pool, and it''s my local > fileserver. Now my brothers build itself the exact same server > (he''s living in another country). I''d like to backup my files on his > server, and his on mine, but kinda share the things, so he can read > my datas, and I his... > > Let say I organize the datas this way : > > mypool/toxic (is the directory I put my datas in, only I have RW > acces) > mypool/toxic/private (Only I have Read acces on it others can''t read > it, but it''s still sync, and an admin on the system have RW) > mypool/brother (his directory, he puts everithing in it, i Have > ReadOnly) > mypool/public (everyone has RW, but the sync mechanism has a Master- > Slave hieratchy to prevent from conflicts at sync-time, if not > Master/slave hierarchy, then the admin could decide in case of > conflict.) > > Now I''d like to be able to use my homeserver normally, and have it > backed up at my brother''s place once a week. And He would benefit > from the same service : a NAS localy and backed up at my place... > > I insist on the fact that I want to be able to read my brother''s > datas, and for the bidirectional public directory, both of us shoud > be able to RW, and sync is still once a week... > > My question is : how do I manage to get this working ? Is there some > fancy NFS feature allowing that ? Do I have to use some third-party > software ? > > The thing is that I actually would like to benefit from the fact > that my brother have a NAS too (opensolaris too), and so backup my > datas at his place, so he can access some of them (others I keep > just private so he don''t have read acces, but it''s still backed up > on it''s server, and the admin of hi''s server can acces is, I don''t > mind... > > I couldn''t find any hint on google, so if anyone knows a howto to > get something similar working... > > Thank you for any help ! > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
jay at lentecs.com
2009-Nov-08 03:23 UTC
[zfs-discuss] Bidirectional online point-in-time replication
Specifically it sounds like you want to write a script to rsync over ssh. You may need to do some manual work to keep ips updated if either side isn''t static. Sent from my BlackBerry? smartphone with SprintSpeed -----Original Message----- From: Richard Elling <richard.elling at gmail.com> Date: Sat, 7 Nov 2009 18:45:10 To: Etienne Molinier<toxicpublic+opensolaris at gmail.com> Cc: <zfs-discuss at opensolaris.org> Subject: Re: [zfs-discuss] Bidirectional online point-in-time replication rsync -- richard On Nov 7, 2009, at 6:27 PM, Etienne Molinier wrote:> Here is my wish : > I build a Homeserver, with a great ZFS pool, and it''s my local > fileserver. Now my brothers build itself the exact same server > (he''s living in another country). I''d like to backup my files on his > server, and his on mine, but kinda share the things, so he can read > my datas, and I his... > > Let say I organize the datas this way : > > mypool/toxic (is the directory I put my datas in, only I have RW > acces) > mypool/toxic/private (Only I have Read acces on it others can''t read > it, but it''s still sync, and an admin on the system have RW) > mypool/brother (his directory, he puts everithing in it, i Have > ReadOnly) > mypool/public (everyone has RW, but the sync mechanism has a Master- > Slave hieratchy to prevent from conflicts at sync-time, if not > Master/slave hierarchy, then the admin could decide in case of > conflict.) > > Now I''d like to be able to use my homeserver normally, and have it > backed up at my brother''s place once a week. And He would benefit > from the same service : a NAS localy and backed up at my place... > > I insist on the fact that I want to be able to read my brother''s > datas, and for the bidirectional public directory, both of us shoud > be able to RW, and sync is still once a week... > > My question is : how do I manage to get this working ? Is there some > fancy NFS feature allowing that ? Do I have to use some third-party > software ? > > The thing is that I actually would like to benefit from the fact > that my brother have a NAS too (opensolaris too), and so backup my > datas at his place, so he can access some of them (others I keep > just private so he don''t have read acces, but it''s still backed up > on it''s server, and the admin of hi''s server can acces is, I don''t > mind... > > I couldn''t find any hint on google, so if anyone knows a howto to > get something similar working... > > Thank you for any help ! > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss_______________________________________________ zfs-discuss mailing list zfs-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss