I'm using glusterfs installed directly on google compute instances to store data for my kubernetes engine applications. I'm trying to figure out how to backup files from all of my volumes. Is it safe to rsync data directly from bricks?
I'm aware that writing directly on brick may result in replication problems, but that does not apply on reading, am I wrong?
Note that glusterfs snapshots are not what I want, I want to directly backup my files to another location.
You can make use of rsync, but you should do it from mount point (rather than the brick).
Note, you can carry out read-only mount of gluster volume and then start rsyncing data from the mount point to wherever you want.
Another option you have is geo-replication. (actually geo-replication makes use of rsync internally)