Backing Up A Single Database - Netscape DIRECTORY SERVER 6.2 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Backing Up and Restoring Data
Run the
2.
For more information about using this script, refer to Netscape Directory
Server Configuration, Command, and File Reference.
Two examples of performing an import using
Windows batch file:
db2bak \usr\netscape\servers\slapd-dirserver\bak\bak_200107011030
56
UNIX shell script:
db2bak /usr/netscape/servers/slapd-dirserver/bak/bak_200107011030
56
You can specify the backup directory and output file where the server saves the
exported LDIF file. If you do not specify a directory and output file, the directory
will store the file by default in the directory where the command-line script resides.
By default, the backup file is named according to the year-month-day-hour format
(
YYYY_MM_DD_hhmmss

Backing Up a Single Database

To back up a single database:
At the command prompt, change to:
1.
serverRoot/slapd-serverID
If the server is running, type the following to stop it:
2.
./stop-slapd
Change to the directory containing the database you want to back up:
3.
cd db/database_name
Copy all of the files in the directory to a backup directory you create. Do not
4.
use the
Console assumes the backups contained by this directory are global.
NOTE
156
Netscape Directory Server Administrator's Guide • December 2003
command-line script.
db2bak
).
serverRoot/slapd-serverID/bak/
You cannot use this backup method to back up the data contained
by databases on remote servers (the databases chained to by the
database links).
follow:
db2bak
directory, as the Directory Server

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.2

Table of Contents