There is no dsbk executable for Windows. You use the dhostcon.exe to load the dsbk module which will then execute the backup.

Pre-Requisites#

  • You must run the commands as a member of the Administrators group
  • When running at the console, you must run as administrator
  • You MUST enable roll-forward logging
  • Read Novell DSBK Documentation

Full Backup#

dhostcon.exe 10.120.2.231 load dsbk backup -b -e secretnicipassword -f D:\backup\2010-11-01-03-full.bac -l E:\novell\logs\backup\2010-11-01-03-dsbackup-full.log -t -w

The 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. The password specifies the NICI backup password. The same password has to be specified to restore the NICI files.

From our testing appears if the -i and -b are missing, a Full backup is performed.

The output log showed:

|==================DSBackup Log: Backup================|
Backup type: Full
Log file name: E:\novell\logs\backup\2010-11-01-03-dsbackup-full.log
Backup started: 2010-11-1'T8:46:9
Backup file name: D:\backup\2010-11-01-03-full.bac
Server name: \T=SW-DEV-LDAP\dc=com\dc=willeke\OU=Servers\CN=SERVERNAME-NDS
Current Roll Forward Log: 00000018.log
DS Version: 2050205
Backup ID: 4CCEB691
NICI BACKUP: "NICI Files has been backed up Successfully"
Starting database backup...
Database backup finished
Completion time 00:04:56
Backup completed successfully

Incremental Backup#

dhostcon.exe 192.168.2.231 load dsbk backup-i -f D:\backup\2010-11-01-03-diff.bac -l E:\novell\logs\backup\2010-11-01-03-dsbackup.diff.log -t -w

The Parameters#

The parameters on the command line are:
  • -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.
  • -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

Worth Noting#

We did not backup NICI in the incremental You might also not backup "stream" files if they do not change often.

The output log showed:

|==================DSBackup Log: Backup================|
Backup type: Incremental
Log file name: E:\novell\logs\backup\2010-11-01-03-dsbackup.diff.log
Backup started: 2010-11-1'T8:21:51
Backup file name: D:\backup\2010-11-01-03-diff.bac
Server name: \T=SW-DEV-LDAP\dc=com\dc=willeke\OU=Servers\CN=SERVERNAME-NDS
Current Roll Forward Log: 00000018.log
DS Version: 2050205
Backup ID: 4CCEB0DF
Starting database backup...
Database backup finished
Completion time 00:05:19
Backup completed successfully

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-8) was last changed on 01-Nov-2010 13:00 by jim