Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OD archive





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

Send instant messages to your online friends http://au.messenger.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.