Tool

ScorpionSting's picture
tool
Reads:

7770

Score:
2.5
2.5
2
 
Comments:

11

eDirectory on Windows Scheduled Online Backup

Author Info

31 March 2008 - 2:57pm
Submitted by: ScorpionSting

(View Disclaimer)

license: 
N/A

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.

AnhangGröße
ndsbackup.zip3.9 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

vGnp's picture

Not Working...

Submitted by vGnp on 9 April 2008 - 3:54am.

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

ScorpionSting's picture

RE: Not Working...

Submitted by ScorpionSting on 9 April 2008 - 12:38pm.

Ummm....the tip title is "eDirectory on Windows", not NetWare...

vGnp's picture

Oops...

Submitted by vGnp on 10 April 2008 - 3:12am.

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's picture

How does it 'login' into eDir?

Submitted by jacquesf on 28 April 2008 - 8:04am.

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's picture

RE: How does it 'login' into eDir?

Submitted by ScorpionSting on 11 May 2008 - 2:09pm.

Jacques,

The script uses dconsole.exe to execute dsbk.

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

raj_uk's picture

could not ping IP

Submitted by raj_uk on 24 September 2008 - 5:57am.

I am getting this error when I ran the script.

OS: Win 2000 SP4
NDS: 8.8 SP3

Thanks,
Raj

ScorpionSting's picture

That means that the script

Submitted by ScorpionSting on 24 September 2008 - 1:32pm.

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's picture

Now that I have it working as a backup utility....

Submitted by atomson on 16 January 2009 - 3:18pm.

How do you restore with these files?

ScorpionSting's picture

Follow the Novell

Submitted by ScorpionSting on 16 January 2009 - 4:25pm.

Follow the Novell Documentation regarding the restore process using DSBK.

http://www.novell.com/documentation/

rvfrueh's picture

Windows 2008 R2 restores

Submitted by rvfrueh on 15 June 2011 - 12:36pm.

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's picture

NICI information is gathered

Submitted by ScorpionSting on 27 July 2011 - 12:06pm.

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

© 2013 Novell