Initializing the Consumer Replica from the Backup Files
Create a new database on the destination server to match the database from the
1.
source server.
Before you begin initializing the consumer from the backup files, be certain
that you have created the appropriate database on your destination server so
that the database exists to be "restored" and initialized.
Enable replication on the backend as a dedicated consumer.
2.
Create the replication agreement on your source server (or whatever server
3.
you will use as the supplier), and select the "Do not initialize consumers at this
time" radio button.
If you already have a replication agreement to that host and port, you do not
need to create a new replication agreement since replication should resume
immediately after running the restore script.
At the command prompt, change to the following directory on the source
4.
Directory Server:
serverRoot
cd
Stop the source Directory Server if it is running by typing the following:
5.
./stop-slapd
From the command-line, run the
6.
directory installation. You can also create a new backup by hitting the "Back
Up Directory Server" button in the Tasks tab of the Directory Server Console,
and then putting the name of your archive directory in the "Directory:..." field.
You can also select any previous back-up to initialize the consumer if you
prefer.
This information is recovered in the destination replica.
Restart the source Directory Server by typing the following:
7.
./start-slapd
Copy the archived files to a directory on your destination server, such as
8.
archiveDirectory
At the command prompt, change to the following directory on the destination
9.
Directory Server:
serverRoot
cd
serverID
/slapd-
db2bak
.
serverID
/slapd-
utility, and archive your current
Chapter 8
Managing Replication
Initializing Consumers
349
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers