----- Original Message ----
From: dboyer <email@hidden>
To: email@hidden
Sent: Thursday, 24 July, 2008 1:12:21 AM
Subject: OD archive
Does the OD archive feature in SERVER ADMIN archive all the data in
the OD (comp lists, accounts, etc)?
Thanks
Dave
_______________________________________________
Yes it does.
I use a launchd item which I wrote to run an odarchive script every evening at about 8:30pm. This backs up to file with a specified password and can be restored through the ServerAdmin GUI
if anything goes awry.
The main crux of the script is:
echo "dirserv:backupArchiveParams:archivePassword = mypassword" > /var/root/command.txt
echo "dirserv:backupArchiveParams:archivePath = /path/to/backup/odarchive" >> /var/root/command.txt
echo "dirserv:command = backupArchive" >> /var/root/command.txt
serveradmin command < /var/root/command.txt
rm /var/root/command.txt
Good luck
Cheers,
PJR
--