How to configure dsbk for Linux and Unix.

  • 7001114
  • 06-Aug-2008
  • 26-Apr-2012

Environment

Novell eDirectory 8.7.3 for Solaris
Novell eDirectory 8.7.3 for Linux
Novell eDirectory 8.7.3 for AIX
Novell eDirectory 8.7.3 for HP-UX

Situation

How to configure dsbk for Linux and Unix.
'dsbk' module could not be loaded (-5984).

Resolution

Currently, you must run dsbk as the root user.

 Known Issues with 8.7.3 SP7:
- 'dsbk' module could not be loaded (-5984).
  Create a symbolic link as follows:
  ln -s /usr/lib/nds-modules/libncpengine.so.0.0.0 /usr/lib/libncpengine.so.0

Follow these steps to use dsbk:

1. Create a /etc/dsbk.conf file.

2. In the dsbk.conf file, enter the location of a temporary file, for use with dsbk.  Here's an example dsbk.conf file:

/root/dsbk.temp

3. Create an empty, temporary file.

# touch /root/dsbk.temp

4. Run dsbk with the standard backup and restore options.  See Chapter 16 of the Novell eDirectory 8.7 Administration Guide, especially the sections on Backing up and Restoring with the Embox Client.

5. Here's an example of how to do a backup.

# dsbk backup -b -f /root/083105.bak -l /root/backup.log -t -w

6. Here's an example of how to do a restore.

# dsbk restore -r -f /root/083105.bak -l /root/restore.log -a -o

(Note: you should also specify the location of the roll-forward logs with the -d option.)

Example:

#dsbk restore -r -d /var/nds/dib -f /root/083105.bak -l /root/restore.log -a -o

7. In order to determine if the backup or restore was successful, you'll need to view thesssss log file.  Given the restore example above, you could type this command -

# more /root/restore.log

Additional Information

Starting with the 8.7.3 SP7 release, dsbk is included with the Linux, AIX, HPUX and Solaris platforms.
Formerly known as TID# 10098714