|
|
Backup and restore involves planning, execution, and testing.
Part of planning is deciding on the following issues:
The methodology for backup is to use the inherent Windows NT Backup. An alternative is to use freeware packages, such as ULTRABAC, that are available on the Internet. These packages enhance the capabilities of the NT Backup. The current and future size of hard disks used make backup tape the best choice as the hardware or medium of backup. No other medium offers the combination of capacity and low cost that is available with tape. Before using tape as a backup solution you need to carefully plan the capacity and speed of tape that you need to use. Using tapes with DAT technology, developed for audio recording is good. DAT writes data at high density on 4mm-wide tape that moves past the heads at relatively slow pace. There are DAT drives that can store up to 12 GB of data per cartridge with transfer speeds ranging up to 1 MB.
There are Windows applications that keep the database files open at all times. The problem is that these open files cannot be backed up because they are in constant state of modification. Windows NT Backup waits a while for the open files to close, then skips the file and reports an error in the backup log that the open file cannot be backed up. Two applications which perpetually have open database files are the Netscape Directory Server and the CallManager database. Thus, there is a need to make a backup copy of these active data files so that the backed up copies can be archived to the tape.
The database directory for the Netscape where all the information of indexing wrt attributes is saved can be backed up using a tool provided with the Netscape DS software "db2bak" and the active ldif of the DS can also be backed up with a similar tool.
We need to use the schedule service to execute commands at specific times.
The Windows NT has five basic types of Backup:
Please refer to a Windows NT guide for definition of the types of backup. We suggest the Copy type of backup. This method does not change the files that are backed up in any way, including the archive bit which is the main attribute for Differential, Incremental, and Daily type of Backup.
The Execution of Backup needs us to back up the configuration and database files for the Netscape DS & MS, uOne, and CallManager. We also need to backup the Message store, Greeting and Distribution, and broadcast list of the individual users of the system. The important directories that we need to back up are:
The directory \SuiteSpot\slapd-servername\db cannot be backed up by the Windows NT Backup as the directory's files are always open. Backing up these files can be achieved by copying the database files into normal files and then backing them up. The backup execution steps have been illustrated keeping in mind that the application programs have been retrieved from the Quickrestore Backup CD.
Here are the steps involved in the backup process:
Step 1 Create the directory C:\VALETBAKRST
Step 2 Run the executable "db2bak" by typing the following command (click Start and then choose Run from the Start menu):
Db2bak C:\VALETBAKRST\bak\
Step 3 Run the executable "db2ldif" by typing the following command (click Start and then choose Run from the Start menu):
Db2ldif C:\VALETBAKRST\bak\
Step 4 Copy the directory C:\uOne\parms and C:\uOne\ldapdata to the directory C:\VALETBAKRST\.
Step 5 Copy the directory C:\netscape\suitespot\slapd-servername and the directory C:\ netscape\suitespot\msg-servername to the directory C:\VALETBAKRST\.
Step 6 Run the Windows NT Backup to copy the directory C:\VALETBAKRST with verify option on.
The above steps can be put in a singular batch file and operated automatically.
Here are the steps involved in the restore process:
Step 1 Run the Restore application of the Windows NT to retrieve the directory C:\VALETBAKRST.
Step 2 Copy file C:\VALETBAKRST\ netscape\suitespot\slapd-servername over the present C:\ netscape\suitespot\slapd-servername
Step 3 Copy file C:\VALETBAKRST\ netscape\suitespot\msg-servername to the directory C:\ netscape\suitespot\msg-servername
Step 4 Run the executable "bak2db" to create the db directory for the system by typing the following command (click Start and then choose Run from the Start menu):
Bak2db C:\netscape\suitespot\slapd-servername\db
Step 5 Run the executable "ldif2db" to recreate the subscriber database by typing the following command (click Start and then choose Run from the Start menu):
Ldif2db C:\VALETBAKRST\bak\*.ldif
Step 6 Restart the NT machine.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jun 21 03:46:52 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.