Using Novell iManager for Backup and Restore

The Backup, Backup Configuration, and Restore tasks in Novell iManager give you access to most of the features of the eDirectory Backup eMTool, and iManager lets you perform tasks on your servers in a browser even if you are outside the firewall. For more information about Novell iManager, see the Novell iManager 2.0.x Administration Guide.

The tasks that are not available in iManager are cold backup (a full backup with the database closed), unattended backup, and advanced restore options. These tasks must be done using the eMBox Client, as described in Using the eMBox Client for Backup and Restore.

Before performing backup and restore tasks, review Checklist for Backing Up eDirectory for an overview of the issues involved in planning an effective eDirectory backup strategy.

In this section:


Backing Up Manually with iManager

Use Backup in iManager in a browser to back up data from an eDirectory database to one or more files on the server where the backup is being performed. You can do a full or incremental backup.

The backup files contain information necessary to restore eDirectory to the state it was in at the time of the backup. The results of the backup process are written to the log file you specify.

Backups performed using iManager are hot continuous backups, meaning that the eDirectory database is open and accessible during the process, and you still get a complete backup that is a snapshot of the moment when the backup began.

Keep in mind that to do a cold backup (a backup with the database closed) or an unattended backup you must use the eMBox Client. See Backing Up Manually with the eMBox Client and Doing Unattended Backups, Using a Batch File with the eMBox Client.

Before performing backup and restore tasks, review Checklist for Backing Up eDirectory for an overview of the issues involved in planning an effective eDirectory backup strategy.


Prerequisites


Procedure

To back up the eDirectory database on a server, using iManager:

HINT:  A description of the options available in iManager is provided in the online help.

  1. Click the Roles and Tasks button Roles and Tasks button.

  2. Click eDirectory Maintenance > Backup.

  3. Specify the server that will perform the backup, then click Next.

  4. Specify a username, password, and context for the server where you want to perform the backup, then click Next.

  5. Specify backup file options, then click Next.

    To back up only the changes made to the database since the last backup was performed, click Do an Incremental Backup.

    The following is an example of the screen.


    First iManager Backup screen
  6. Specify additional files to back up.

    If no additional files are specified, only the eDirectory database is backed up.

  7. Follow the online instructions to complete the backup.

  8. Make sure you do a file system backup shortly after the eDirectory backup is created, to put the eDirectory backup files safely on tape. (The Backup eMTool only places them on the server.)


Configuring Roll-Forward Logs with iManager

Use Backup Configuration in a browser to change the settings for roll-forward logs. You can do the following tasks:

For more information about roll-forward logs, see Using Roll-Forward Logs.

HINT:  A description of the options available in iManager is provided in the online help.

  1. Click the Roles and Tasks button Roles and Tasks button.

  2. Click eDirectory Maintenance > Backup Configuration.

  3. Specify the server that will change configuration, then click Next.

  4. Specify a username, password, and context for the server where you want to change configuration, then click Next.

  5. Make the changes you want to the server's backup configuration.

    WARNING:  If you turn on roll-forward logging, don't use the default location. For fault tolerance, put the directory on a different disk partition/volume and storage device than eDirectory. The roll-forward logs directory must be on the server where the backup configuration is being changed.

    IMPORTANT:  If you turn on roll-forward logging, you must monitor disk space on the volume where you place the roll-forward logs. If left unchecked, the log file directory will grow until it fills up the disk partition/volume. If roll-forward logs cannot be created because no more disk space is available, eDirectory stops responding on that server. We recommend you periodically back up and remove unused roll-forward logs from your server. See Backing Up and Removing Roll-Forward Logs.

    The following is an example of the screen.


    iManager Backup Configuration screen
  6. Follow the online instructions to complete the operation.


Restoring from Backup Files with iManager

Use Restore in a browser to restore an eDirectory database from data stored in backup files. The results of the restore process are written to the log file you specify.

For a description of the restore process, see Overview of How the Backup eMTool Does a Restore.

Keep in mind that for advanced restore options you must use the eMBox Client, as described in Using the eMBox Client for Backup and Restore.


Prerequisites


Procedure

HINT:  A description of the options available in iManager is provided in the online help.

To restore the eDirectory database on a server, using iManager:

  1. Make sure you have gathered the backup files you need, as described in Preparing for a Restore.

  2. Click the Roles and Tasks button Roles and Tasks button.

  3. Click eDirectory Maintenance > Restore.

  4. Specify the server that will perform the restore, then click Next.

  5. Specify a username, password, and context for the server where you want to perform the restore, then click Next.

  6. Specify the name of the backup and log files you want to use, then click Next.

    The following is an example of the screen.


    First iManager Restore screen
  7. Specify additional restore options, then click Next.

    In most cases you should at least check the check boxes for

    • Restore database
    • Activate the restored database after verification
    • Open the database after completion of restore

    If you are restoring roll-forward logs, make sure you include the full path to the logs, including the directory that is automatically created by eDirectory, usually named \nds.rfl. (For more information about this directory, see Location of the Roll-Forward Logs.)

    The following is an example of the screen.


    Second iManager Restore screen
  8. Follow the online instructions to complete the restore.

    If the restore verification fails, see Recovering the Database If Restore Verification Fails.

    NOTE:  If the server you are restoring shares a replica with a server running an earlier version than eDirectory 8.5, the restore log will show a -666 error (incompatible DS version) for that replica. For more information on this situation and what you might be able to do, see Restore Verification Is Backward Compatible Only with eDirectory 8.5 or Later.

  9. Make sure the server is responding as usual.

  10. (Conditional) If you are using roll-forward logging on this server, you must re-create your configuration for roll-forward logging to make sure it is turned on and the logs are being saved in a fault-tolerant location. After turning on the roll-forward logs, you must also do a new full backup.

    This step is necessary because during a restore, the configuration for roll-forward logging is set back to the default, which means that roll-forward logging is turned off and the location is set back to the default. The new full backup is necessary so that you are prepared for any failures that might occur before the next unattended full backup is scheduled to take place.

    For more information about roll-forward logs and their location, see Using Roll-Forward Logs.

Your restore should now be complete. If you use roll-forward logging, you have prepared for any failures in the future by turning on roll-forward logging again after the restore and creating a new full backup as a baseline.