Error: -6034 when restoring the eDirectory database using DSBK.NLM.
(Last modified: 05Oct2005)
This document (10099184) is provided subject to the disclaimer at the end of this document.
fact
Novell NetWare 6.5 SP3
Novell eDirectory 8.7.3 for NetWare 6.5
DSBK.NLM
symptom
Error: -6034 when restoring the eDirectory database using DSBK.NLM.
Error: -755 when restoring the eDirectory database using DSBK.
Error: -666 when restoring the eDirectory database using DSBK.
Error: -625 when restoring the eDirectory database using DSBK.
How to troubleshoot eDirectory errors with the log produced by DSBK.
change
Using DSBK to backup and restore the eDirectory database.
note
DSBK should only be used by someone who has an advanced understanding of eDirectory, understands the concepts behind eDirectory's database roll forward logs as well as the ramifications of performing a restore of that database. Please carefully read the documentation carefully. It can be found at http://www.novell.com/documentation/edir873/index.html.
cause
The above errors indicate a misuse of the DSBK utility in an attempt to restore eDirectory's database.
Below is an example of a DSBK log.
|==================DSBackup Log: Backup================|
Backup type: Full
Log file name: sys:nds\nds.log
Backup started: 2005-9-27'T10:57:17GMT
Backup file name: sys:nds\ndsbk
Server name: \T=HVTREE\O=provo\CN=HVSERVER1 Current Roll Forward Log: 00000001.log
DS Version: 1055279
Backup ID: 4338D835
Starting database backup...
Database backup finished
Completion time 00:00:00
Backup completed successfully
|==================DSBackup Log: Restore================|
Log file name: sys:nds\nds.log
Restore started: 2005-9-27'T11:2:43GMT
Restore file name: sys:nds\ndsbk
Starting database restore...
Restoring file sys:nds\ndsbk
Completion time 00:00:13
Restore completed successfully
|==================DSBackup Log: Restore================|
Log file name: sys:nds\nds.log
Restore started: 2005-9-27'T11:3:40GMT
Restore file name: sys:nds\ndsbk
Starting database restore...
Restoring file sys:nds\ndsbk
Server: \T=HVTREE\O=provo\CN=HVSERVER Replica: \T=HVTREE Status: ERROR = -6034 Local TV Remote TV s4338d361 r02 e002 s4338d992 r02 e002 s4338d49f r01 e001 s4338d992 r01 e003
Database restore finished
Completion time 00:00:11
1 Error!
Log file name: sys:nds\nds.log
Restore started: 2005-9-27'T11:4:52GMT
Restore file name: sys:nds\ndsbk
Starting database restore...
Restoring file sys:nds\ndsbk
Server: \T=HVTREE\O=provo\CN=HVSERVER Replica: \T=HVTREE Status: ERROR = -666 Error!: -625 Database restore finished
Completion time 00:04:05
1 Error!
_____________________________________________________________________________________________________________________________________________
In summary, restoring eDirectory is not something to be taken lightly nor is it an operation that should be performed by someone who does not have extensive experience in eDirectory's operation. To not carefully consider how backups are made, whether to restore, how to restore and its ramifications in doing so can lead to serious inconsistancies in the server dibs which can lead to tree wide data loss. The RFL is crucial. It must be present, it must be current. The other logs of the set must be present prior to the restore. The current RFL should be on a volume other than the one that contains the dibset. If this is an emergency and all drives were lost the restore should be done off the wire so the other servers can no longer see it. The restore is performed, all replicas must be removed via a dsrepair -xks then all the replica rings of which this server was a member must be cleaned up. After this is completed this server can be returned to the wire where its external references can be successfully backlinked. Then and only then can the previous replicas be added back.
.
document
Document Title: | Error: -6034 when restoring the eDirectory database using DSBK.NLM. |
Document ID: | 10099184 |
Solution ID: | NOVL103765 |
Creation Date: | 05Oct2005 |
Modified Date: | 05Oct2005 |
Novell Product Class: | Novell Directory Services |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.