Using DSBK dsbk is a thin command line parser that performs the same operations as the Backup eMTool, but lets you initiate a backup from the server console without having to log in first or set up Role-Based Services.
It runs as a script on Linux/Unix, using similar command line options as the Backup eMTool.
This utility can also be used in scripting backups using NCF files on The NetWare servers.
After a DSBK operation has completed, the results of the operation are written to a file (dsbk.err on NetWare and dsbk.pipe on Linux) that you can programmatically open and view the results.
The first four bytes of this file contain error codes if any are generated during the operation. If there are no errors, the first four bytes of this file will contain zeros.
Using DSBK on Linux/AIX/Solaris#This section discusses the use of the dsbk utility on Linux.
Backup Parameters#The parameters on the command line are:
- -b - Do a full backup
- -f - The file where the actual backup is to be written
- -l - The file where the session log is written.
- -t - (Optional) Back up Stream Files. Includes the Stream Files when backing up the eDirectory database.
- -w - (Optional) Overwrite existing backup file of same name
- -e password - (Optional) Perform a NICI Backup Procedure. The password specifies the NICI backup password. The same password has to be specified to restore the NICI files.
- --config-file - sepcifies the eDirectory Instance only required when there are more than one.
dsbk backup -b -f /root/083105.bak -l /root/backup.log -t -w -e novell --config-file /data/nds/idv/nds.conf