Not replicating deletes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux