eDirectory on Windows Scheduled Online Backup

ScorpionSting

By: ScorpionSting

March 31, 2008 3:57 pm

Reads: 451

Download ndsbackup

This nice, easy tool allows for the online backup of eDirectory to a specified location, so the file system backup can consume the files.

Steps the script takes:

  1. Starts a log file
  2. Cleans up backup files so that only 2 backups exist on the file system at any point.
  3. Backs up NICI Registry entries.
  4. Backs up NICI directory.
  5. Sets Roll Forward Log location (if specified in command line).
  6. Backs up eDirectory.

Please read the top of the ndsbackup.vbs script for more information.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: Cool Tools, eDirectory

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

11 Comments

  1. By:vGnp

    I get the errormessage “could not ping xxx.xxx.xxx.xxx”
    where I used the IP Address of my NetWare server?!?

    • By:ScorpionSting

      Ummm….the tip title is “eDirectory on Windows”, not NetWare…

      • By:vGnp

        You are absolutely correct. It is just that after all these years of using eDirectory in my mind it gets translated to NetWare automatically. I still need to get used to the fact that eDir is available on other platforms as well.

        Cheers

        vGnp

  2. By:jacquesf

    Hi,
    I was wondering how the script authenticates to eDir to be able to execute the backup operation? I see no variable or whatsoever in the script to pass the credentials to the backup operation.

    I had the same issue with my old script and I had to use a third-party tools to encrypt the eDir credentials in the script.

    Maybe your example is to be used within an authenticated session on a machine equipped with the Novell client SW ?

    Thanks for the info!

    Jacques

  3. By:ScorpionSting

    Jacques,

    The script uses dconsole.exe to execute dsbk.

    Please see Novell’s documentation ( http://www.novell.com/documentation/edir88/edir88/data/a2n4mb6.html ) on what dsbk is and how it works.

  4. By:raj_uk

    I am getting this error when I ran the script.

    OS: Win 2000 SP4
    NDS: 8.8 SP3

    Thanks,
    Raj

    • By:ScorpionSting

      That means that the script can not use winmgmts to send an ICMP ping packet to the IP address you are parsing through to the script.

      This could be one of several reasons:

      • User running scripts does not have rights to use winmgmts
      • The IP address you are parsing is incorrect
      • The IP address is blocking ICMP packets
  5. By:atomson

    How do you restore with these files?

  6. By:rvfrueh

    Following Novell’s directions in eDir 8.8 for restoring with dsbk causes issues – I can’t get ndscons.exe to run, or any of the subutilities, in a way that I can interact with them. I can use dhostcon, but I can’t figure out the NICI password from your script.

    In fact, I cant’ see -e as an option in your script, so how does it get the NICI information to restore?

    Thanks,
    Rich

    • By:ScorpionSting

      NICI information is gathered in two forms:

      1. Registry backup using REG.EXE, use the same executable to restore the hive
      2. Copy of the NICI store with SID ACL’s intact, just copy this back

Comment