Download ndsbackup.zip

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.

More articles on my Website.

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...
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.

Leave a Reply

Leave a Comment

  • vGnp says:

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

    • ScorpionSting says:

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

      • vGnp says:

        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

  • jacquesf says:

    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

  • ScorpionSting says:

    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.

  • raj_uk says:

    I am getting this error when I ran the script.

    OS: Win 2000 SP4
    NDS: 8.8 SP3

    Thanks,
    Raj

    • ScorpionSting says:

      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
  • atomson says:

    How do you restore with these files?

  • rvfrueh says:

    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

    • ScorpionSting says:

      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
ScorpionSting
Mar 31, 2008
3:57 pm
Reads:
1,603
Score:
5