Backing Up and Restoring Data
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.
Directory Server automatically detects the compatibility between the replica
and its change log. If a mismatch is detected, the server removes the old change
log file and creates a new, empty one.
•
Change log entries have expired on the supplier server since the time of the
local backup.
If change log entries have expired, you need to initiate consumer
reinitialization. For more information on reinitializing consumers, refer to
"Initializing Consumers," on page 309.
156
Netscape Directory Server Administrator's Guide • May 2002
backup_file
/database_name
../db
cn=changelog5,cn=config
nsslapd-changelogmaxage
entry. For more information about
and can be
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers