Setup guide

Backing Up Data
Chapter 6 Backing Up and Restoring Data 51
Copies non-CMS certificate and key databases and shared files
Copies files required to configure the Netscape Console and Administration
Server
Backs up the configuration Directory Server using that server’s
db2bak backup
utility (if the server is running locally)
Backs up the CMS internal database (Directory Server) u sing that server’s
db2bak backup utility
Copies CMS global and local class files
Copies CMS user interface files and templates
Copies CMS instance configuration files
Creates a compressed archive of all files i n the backup directory
The log file is in
<server_root>/cert-<instance_id>/logs/cmsbackup.log.
You should review the log file after each backup to make sure that all phases of the
backup completed successfully. If all or part of the backup fails it is usually due to
a directory that is missing or not readable by the user running the backup.
The default temporary backup di r ectory is
/var/tmp (Unix) or C:\Temp (Windows
NT). Ensure that access to this directory is restricted so that no one can intercept
backup files while the archive is being built. You can change the working backup
directory by changing the value of
$backup_path_prefix in CMSBackup.pl.
The non-CMS databases and shared files that a re backed up are:
<server_root>/alias/*
<server_root>/shared/config/*.conf
The Admi nistration Server files that are backed up are the following files from
<server_root>/admin-serv/config/:
admpw, the Administration Server password cache
*.conf, the Configuration files for the server and its associated LDAP data
*.db, the certificate and key databases for the Administration Server and
secmod.db (database of PKCS#11 modules available to all server instances)
The backup tool will use the Netscape Directory Server
db2bak tool to create a
backup of the CMS server inst ance internal database directory and the
configuration directory (if it is running locally). Check the Netscape Di rectory
Server documentation for full details on what this tool does. The data backed up
includes all schema and object class definitions and, of course, all entries in the
directory.