[Gluster-users] Not replicating deletes
Rahul C S
rahulcs at redhat.com
Wed Jan 25 11:53:28 UTC 2012
Hi Brian,
You can use,
gluster volume geo-replication <master> <slave> config ignore-deletes 1
This makes sure, that the deletes does not get affected on the slave,
though the files in the master will get deleted.
On Wednesday 25 January 2012 03:55 AM, Brian Candler wrote:
> Is there a facility in georeplication (or elsewhere) to replicate file
> creations and updates, but not deletions?
>
> This is to prevent some clod accidentally deleting a high-value dataset and
> having the deletion replicate immediately to the copy. The dataset I'm
> thinking of is essentially an append-only one.
>
> If georeplication uses rsync internally, can it be told to run rsync without
> the --delete flag?
>
> Thanks,
>
> Brian.
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
--
Regards,
Rahul C S
Engineer, Redhat Storage
Ph:+919591407901
More information about the Gluster-users
mailing list