Backing Up A Single Database - Netscape DIRECTORY SERVER 6.02 - 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_20010701103056
UNIX shell script:
db2bak /usr/netscape/servers/slapd-dirserver/bak/bak_20010701103056
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.
/usr/netscape/servers/slapd-
where serverID is the name of your Directory Server.
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/
Copy all of the files in the directory to a backup directory you create. Do not
4.
use the
Directory Server Console assumes the backups contained by this directory are
global.
NOTE
152
Netscape Directory Server Administrator's Guide • May 2002
command-line script.
db2bak
).
database_name
/usr/netscape/servers/slapd-
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
serverID
serverID
/bak/
directory, as the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents