Backing Up and Restoring Data
Restoring a Single Database
To restore a single database:
At the command prompt, change to the following directory:
1.
cd /usr/netscape/servers/slapd-
where serverID is the name of your directory server.
If the server is running, type the following to shut it down:
2.
./stop-slapd
Change to the directory containing the backup you want to restore.
3.
Copy all of the files to the directory containing the database you want to
4.
overwrite with your backup. For example, you might type the following:
cp
Restoring Databases that Include Replicated
Entries
If you are restoring a database that is supplying entries to other servers, then you
must reinitialize all of the servers that receive updates from the restored database
(for example, consumer servers, hub servers, and, in multi-master replication
environments, other supplier servers). The change log associated with the restored
database will be erased during the restore operation. A message will be logged to
the supplier servers' log files indicating that reinitialization is required.If you are
restoring a database containing data received from a supplier server, then one of
two situations can occur:
•
Change log entries have not yet expired on the supplier server.
If the supplier server change log has not expired since the database backup was
taken, then you can restore the local consumer and continue with normal
operations. This situation occurs only if the backup was taken within a period
of time that is shorter than the value you have set for the maximum change log
age attribute. This attribute is called
found in the
this option, refer to the Netscape Directory Server Configuration, Command, and
File Reference.
154
Netscape Directory Server Administrator's Guide • January 2002
backup_file
/database_name
../db
cn=changelog5,cn=config
serverID
nsslapd-changelogmaxage
entry. For more information about
and can be
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers