Backing Up and Restoring Novell eDirectory
451
no
vd
ocx
(e
n)
6 Ap
ril 20
07
16.6.5 Backup and Restore Command Line Options
The eDirectory Backup eMTool command line options are divided into six functions:
backup
,
restore
,
restadv
,
getconfig
,
setconfig
, and
cancel
.
The switches can be placed in any order in the command after the name of the function. They must
be separated by a space.
Option and Switches
Description
backup
Perform a backup of the database and associated files.
-f
file_name
(Mandatory) Backup filename and path
Specifies the filename and location of the backup file you want the Backup
eMTool to create. This file must be on the server you are backing up. For
example, backup -f
vol1:\backup\ndsbak.bak
will back up the database
to
vol1:\backup\ndsbak.bak
.
-l
file_name
(Mandatory) Log filename and path
Specifies the log file to record the results of the backup operation.
-b
(Optional) Perform a full backup.
Performs a full backup of the eDirectory database. This option is the default
behavior. If neither -i nor -c is specified, a full backup is performed.
-i
(Optional) Perform an incremental backup.
Performs an incremental backup of the eDirectory database. This will back up
any changes made to the database since the last full or incremental backup.
-t
(Optional) Back up stream files.
Includes the stream files when backing up the eDirectory database.
-u
file_name
(Optional) User includes filename and path.
Specifies an include file that lists additional files to back up. You can create
this configuration file to include other files in the backup that could be
important when restoring the server's eDirectory database.
In the include file, list the full path of each file you want backed up, followed by
a semicolon (;). For example, if an administrator wanted to include the
autoexec.ncf and hosts file in the backup for a NetWare server, the text in the
user include file would be the following:
sys:\system\autoexec.ncf;sys:\etc\hosts;
Don't include any spaces or hard returns in the list of files.
To confirm that these files are being backed up, check the backup log or look
at the header of the backup file. (See
“Format of the Backup Log File” on
page 421
and
“Format of the Backup File Header” on page 417
.)
WARNING:
When opening a backup file, just view the header—make sure
you don't try to save or modify the file, or it might become truncated. Most
applications can't save the binary data correctly.
Summary of Contents for EDIRECTORY 8.8 SP2
Page 4: ...novdocx en 6 April 2007...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 255: ...256 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 406: ...408 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 563: ...566 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 573: ...576 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 601: ...604 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...