Restore binary data on directory server 6.0 in multi-master replication
Hi,
I have successfully set up 3 directory servers 6.0 on Solaris 9 OE. They are in multi-master replication. I make a binary backup every night using dsconf on one directory server. How do I restore my binary data on one directory server which is in multi-master replication? Should I disable replication first then do restore? What the correct steps should I follow to succesfully restore data?
Thanks,
--xinhuan
[439 byte] By [
xhza] at [2007-11-27 7:10:35]

# 1
To restore any of the master from the backup, just call dsconf restore <PathofBackup>
There is no need to disable replication.
Other precautions are detailed in the Chapter 8 of the Administration Guide and more specifically on the section about Restoring Replicated Suffixes. <http://docs.sun.com/app/docs/doc/819-0995/6n3cq3asp?a=view>
Regards,
Ludovic
# 2
> To restore any of the master from the backup, just
> call dsconf restore <PathofBackup>
>
> There is no need to disable replication.
I ran into a problem when running dsconf restore command on one of masters. I did restore the backup data from an old backup data on one master, after restoring, I saw that the other 2 masters replicate their new changes to the restored master and eventually overwrite my restored master.
This happened when I do a massive changes on one master. I batch load a lot of passwd data to one master, but accidentally deleted 'group' container. The backup data has no data that I batch loaded. So I decided to restore from an old backup data, but always got the restored data overwritten. I have to disable the replication then restore the old backup data, then re-enable replication, then redo batch load. That seems silly.
I wonder why the restored master is overwritten from other masters replication. Should it happen?
Thanks,
--xinhuan
xhza at 2007-7-12 19:02:07 >
