Backing Up and Restoring Novell eDirectory
413
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
brand new machine, or simply moving a server from one machine to another, you need to
install both the operating system and eDirectory on the new machine.
Review the description of the command line options in
“Backup and Restore Command Line
Options” on page 415
.
Review the description of the restore process in
“Overview of How the Backup eMTool Does a
Restore” on page 380
.
(NetWare only) Be aware of the issues involved with preserving file system rights when
restoring file system data and eDirectory. You should restore eDirectory before restoring the
file system data. You also might need to take additional steps, as explained in
“Preserving
Rights When Restoring File System Data on NetWare” on page 388
.
Procedure
To restore an eDirectory database on a server using the eMBox Client:
1
Make sure you have gathered the backup files you need, as described in
Section 14.4,
“Preparing for a Restore,” on page 393
.
2
Run the eMBox Client in interactive mode:
• NetWare and UNIX: At the command line, enter
edirutil -i
.
• Windows: Run
drive
\novell\nds\edirutil.exe -i
The edirutil file gives you a shortcut to running the eMBox Client. It points to the Java
executable and the default location where the eMBox Client is installed with eDirectory, and
for NetWare, it includes the necessary -ns option. (You can also enter the information manually,
as described in
“Running the eMBox Client on a Workstation” on page 533
.)
When the eMBox Client opens, the eMBox Client prompt appears: eMBox Client>
3
Log in to the server you want to restore by entering
login -s
server_name_or_IP_address
-p
port_number
-u
username.context
-w
password
For example, on Windows enter
login -s 151.155.111.1 -p 8009 -u admin.mycompany -w mypassword
If you get an error saying that a secure connection cannot be established, make sure your
machine has the JSSE files listed in
“Establishing a Secure Connection with the eMBox Client”
on page 539
.
For help finding out which port number to use, see
“Finding Out eDirectory Port Numbers” on
page 539
.
The eMBox Client indicates whether the login is successful.
4
Enter the restore command at the eMBox Client prompt, following this general pattern:
restore -r -a -o -f
full_backup_path_and_filename
-d
roll-forward_log_location
-l
restore_log_path_and_filename
A space must be between each switch. The order of the switches is not important. Make sure
you use the -r switch to restore the eDirectory database itself; otherwise only the other kinds of
files will be restored. If you want the database to be active and open when the restore is
complete, make sure you specify -a and -o.
Содержание EDIRECTORY 8.8 - GUIDE
Страница 4: ...novdocx ENU 01 February 2006...
Страница 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Страница 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...