eDirectory Backup Script for Linux
Novell Cool Solutions: Cool Tool
Reader Rating
from 1 ratings
In Brief
Simple script for a full tree backup.
Vitals
- Product Categories:
- eDirectory
- Linux
- Functional Categories:
- Backup/Restore
- Linux
- Scripting
- Secure Identity
| Posted: | 8 Apr 2005 |
| File Size: | 3KB |
| License: | Free |
| Download: | /coolsolutions/tools/downloads/edirbackup.sh |
| Publisher: | Mark Batchelor |
Disclaimer
Please read the note from our friends in legal before using this file.
Details
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. :)
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
Reader Comments
- Usefull but file is not useable as is ! LF are inserted in the middle of lines !!!