Niels de Vos
2017-Aug-27 12:45 UTC
[Gluster-users] Using glusterfind to backup to rsync.net?
Hi Milind, I am thinking of doing backups from my Gluster volume at home. Would glusterfind make that straight forward to do? My plan would be to have a cron-job that runs every night and copies documents and pictures to rsync.net. For me it is not a lot of data, and I think a plain recursive scanning rsync might work sufficiently, but hooking it up with glusterfind would be more optimized. Can you point me to the documentation or an example that show which documents have been modified and which pictures have been added? Basing it on filenames would be ideal of course, it would be annoying to have to resolve GFIDs. Thanks, Niels
On 08/27/2017 06:15 PM, Niels de Vos wrote:> Hi Milind, > > I am thinking of doing backups from my Gluster volume at home. Would > glusterfind make that straight forward to do? My plan would be to have a > cron-job that runs every night and copies documents and pictures to > rsync.net. For me it is not a lot of data, and I think a plain recursive > scanning rsync might work sufficiently, but hooking it up with > glusterfind would be more optimized. > > Can you point me to the documentation or an example that show which > documents have been modified and which pictures have been added? Basing > it on filenames would be ideal of course, it would be annoying to have > to resolve GFIDs. > > Thanks, > Niels > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-usersHi Niels, Glusterfind can be used in your case. Post processing is required to consume the output file from Rsync. RFE bug was opened for the same to make it rsync ready output file[1] As a note, Glusterfind currently uses intelligent crawl in brick backend to find the Path for a GFID(Since Changelog records only GFID in case of DATA and META operations). Glusterfind can be enhanced to get path from GFID without crawl by using the new GFID to Path feature[2](will be available with release-3.12). [1] https://bugzilla.redhat.com/show_bug.cgi?id=1260937 [2] https://github.com/gluster/glusterfs/issues/139 -- regards Aravinda VK