![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 155](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675155.webp)
Backing Up and Restoring Data
Chapter
4
Populating Directory Databases
155
Backing Up All Databases From the Server Console
When you back up your databases from the Directory Server Console, the server
copies all of the database contents and associated index files to a backup location.
You can perform a backup while the server is running.
To back up your databases from the Server Console:
1.
On the Directory Server Console select the Tasks tab.
2.
Click Back Up Directory Server.
The Backup Directory dialog box is displayed.
3.
Enter the full path of the directory where you want to store the backup file in
the Directory text box, or click “Use default” and the server provides a name
for the backup directory.
If you are running the console on the same machine as the directory, you can
also click Browse to locate a local directory.
If you choose to use the default, the backup files will be placed in the following
location:
serverRoot
/slapd-
serverID
/bak/
backup_directory
The backup_directory variable names a directory using the name of the backup
file. By default, the backup directory name contains the time and date the
backup was created (
YYYY_MM_DD_hhmmss)
.
4.
Click OK to create the backup.
Backing Up All Databases From the Command Line
You can back up your databases from the command line using the
db2bak
command-line script. This script works when the server is running or when the
server is stopped.
You cannot back up the configuration information using this backup method. For
information on backing up the configuration information, refer to “Backing Up the
dse.ldif Configuration File,” on page 156.
To back up your directory from the command line using the
db2bak
script:
1.
At the command prompt, change to the following directory:
serverRoot
/slapd-
serverID
2.
Run the
db2bak
command-line script.
For more information about using this script, refer to Netscape Directory Server
Configuration, Command, and File Reference.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...