Tool

ScorpionSting's picture

eDirectory on Windows Scheduled Online Backup

Author Info

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

tool
Reads:

3437

Score:
1
1
1
 
Comments:

9

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.

AttachmentSize
ndsbackup.zip3.9 KB

Author Info

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




User Comments

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...

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

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.

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

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/

© 2009 Novell, Inc. All Rights Reserved.