Backing Up and Restoring Novell eDirectory 443novdocx (en) 11 July 2008To change the name of the NetWare server you are restoring to, change the name in theautoexec.ncf file and restart the server. (NetWare only) Be aware of the issues involved with preserving file system rights whenrestoring file system data and eDirectory. You should restore eDirectory before restoring thefile system data. You also might need to take additional steps, as explained in “PreservingRights When Restoring File System Data on NetWare” on page 436.During the restore process, the eDirectory Backup eMTool first restores the full backup. After this iscomplete, the Backup eMTool prompts you to enter the filenames of the incremental backup files. Itprovides you with the ID of the next file. After all incremental files are restored, the Backup eMToolmoves on to the roll-forward logs. (See also “Overview of How the Backup eMTool Does a Restore”on page 428.)After you have gathered all the files, perform the restore using either iManager or the eMBox Client.See “Restoring from Backup Files with the eMBox Client” on page 462 or “Restoring from BackupFiles with iManager” on page 450.16.4.2 Locating the Right Backup Files for a Restore1 From your file system backup tape, copy the eDirectory full backup files to one directory onthe server.You can check the Backup eMTool log file if you want to confirm the ID of the last full backup.2 From your file system backup tape, also copy each of the subsequent incremental backup filesto the a directory on the server.To confirm that you have the right incremental backup files, look in the header of the fullbackup file. It contains the ID of the next incremental backup file, shown in thenext_inc_file_ID attribute. The next_inc_file_ID is the same as the ID noted in the header ofthe incremental backup file in the incremental_file_number attribute. (For a description of theheader, see “Format of the Backup File Header” on page 429.)WARNING: When opening a backup file, just view the header—make sure you don't try tosave or modify the file, or it might become truncated. Most applications can't save the binarydata correctly.Each incremental backup file will also contain the ID for the next incremental backup file.You can also look for the incremental backup ID in the Backup eMTool log file.The IDs are important because your backup files might have had the same filenames when theywere created (for example, if you used the same batch file for unattended incremental backupsso the backup filename specified was always the same), and you might have to change thefilenames so you can place all the backups in the same directory. The ID in the header lets youfind the correct files even if you have changed the filenames.3 (Conditional) If you are using roll-forward logging on this server, make sure the roll-forwardlogs created since the last backup are in one directory on the server, with the same filenamesthey had when they were created.If this server participates in a replica ring, you must restore using all the roll-forward logs. Ifyou don't include all the roll-forward logs, the restore verification process will not besuccessful because the transitive vectors will not match when compared to the other replicas inthe ring. By default the restored eDirectory database will not open after the restore if it isinconsistent with the other replicas.