>>> <[email protected]> schrieb am 08.01.2021 um 01:51 in Nachricht <[email protected]>: > Hello all, > > I am migrating to delta-syncrepl and have a couple questions. > > I currently back-up my data.mdb file for restore purposes (using mdb_copy). > Now that I am using delta-syncrepl, do I also need to be concerned with the > accesslog data.mdb file in the event of a restore? > > What is the sync behavior of a consumer if it is configured to use > delta-syncrepl and the provider is restored but not the accesslog?(i.e. the > accesslog would be new on initial start of slapd after a restore)? >
In my understanding accesslog contains changes that should be sent out (i.e. information that is in the provider database already). With an empty accesslog anyn ew changes will be sent out after a restore. Whoever pending changes (before the restore) would be lost. So probably you want to force a resync-after a restore of the provider. When done cleverly, no unneeded changes will happen on the consumer. Details may depend on the reason WHY yoiu need a restore of the provider. > > Files in question: > /var/lib/ldap/data.mdb > /var/lib/ldap/accesslog/data.mdb > > Thanks for any input, > Paul
