Tool

eDirectory Backup Script for Linux

Author Info

8 April 2005 - 10:05am
Submitted by: Mark Batchelor

tool
Reads:

2339

Score:
0
0
 
Comments:

0

license: 
Free

This is a little script I put together to get backups of eDirectory from a Linux box. NDSBackup is a good utiltity - you can even schedule it, but I had a need to backup multiple trees, and I also did not want to manage backup directories, or archival directories for that matter. So I put together a really quick shell script to do some of that for me.

Usage:

edirbackup.sh [-t][-s]

-t denotes the name of the tree you are going to backup.

-s denotes the server you wish to backup from. (preferebly a replica server)

Example:
edirbackup.sh -t my-tree-name -s myserver.mycompany.com

The script takes a full tree backup, and a seperate backup for the schema on each tree. It then mails each report to whomever you want.
It also handles directory creation past the intitial backup directory. Nothing special, I just did this because I was lazy. :)

AttachmentSize
edirbackup.zip1.29 KB

Author Info

8 April 2005 - 10:05am
Submitted by: Mark Batchelor




User Comments

© 2009 Novell, Inc. All Rights Reserved.