eDirectory Backup Script for Linux
Novell Cool Solutions: Cool Tool
Simple script for a full tree backup.
|Posted:||8 Apr 2005|
Please read the note from our friends in legal before using this file.
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.
-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)
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. :)
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com