[Csync2] Invalidating data on one host.
Lars Ellenberg
lars.ellenberg at linbit.com
Thu May 31 15:25:46 CEST 2007
On Wed, May 30, 2007 at 11:54:37PM -0600, Dan Brown wrote:
>
>
> I run a pair of servers in master/master mode which replicate between each
> other every other minute. Today I wasn't paying attention and manage to
> change the permissions via chmod/chown across a huge swath of files on one
> of the hosts. I caught this permissions change before it replicated to the
> other host and would like to use the csync2 replication to change them all
> back.
>
> I tried touching the modification times on the files (to be far in the past)
> on the corrupted host and forcing them to be the winner on the uncorrupt
> host in any conflict but it appears to be ignoring that sort of action.
>
> Is there any easy way of going about this?
what you could do is:
good_node# csync2 -TIUX ### please check whether you want to use the X...
good_node# csync2 -fr / ### mark them all as forced
good_node# csync2 -uvd ### update verbosely in dryrun
# when the dry run made sense, leave of the 'd'
whether that is what you mean, I don't know...
--
: Lars Ellenberg Tel +43-1-8178292-0 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com :
More information about the Csync2
mailing list