![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 156](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675156.webp)
Backing Up and Restoring Data
156
Netscape Directory Server Administrator’s Guide • August 2002
Two examples of performing an import using
db2bak
follow:
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:
1.
At the command prompt, change to:
serverRoot
/slapd-
serverID
2.
If the server is running, type the following to stop it:
./stop-slapd
3.
Change to the directory containing the database you want to back up:
cd db/
database_name
4.
Copy all of the files in the directory to a backup directory you create. Do not
use the
serverRoot
/slapd-
serverID
/bak/
directory, as the Directory Server
Console assumes the backups contained by this directory are global.
Backing Up the dse.ldif Configuration File
Directory Server automatically backs up the
dse.ldif
configuration file. When
you start your Directory Server, the directory creates a backup of the
dse.ldif
file
automatically in a file named
dse.ldif.startOK
in the
serverRoot
/slapd-
serverID
/config
directory.
NOTE
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).
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...