Leigh Grundhoefer wrote:
|
|
| Also, regarding this feature, is there a Command-Line equivalent. I
| have 10.4 server which fails to archive but does not
| give any specifics as to the problem or a solution.
|
| leigh
|
| dboyer wrote:
|> Does the OD archive feature in SERVER ADMIN archive all the data in
|> the OD (comp lists, accounts, etc)?
|>
|> Thanks
|> Dave
|
I don't know about a single command, but we use the following script to
archive our OD data:
============================
#!/bin/bash
TIMESTAMP=`date +"%Y%m%d%H"`
# Back up LDAP data
echo "Backing up LDAP data."
/usr/sbin/slapcat -l /var/backups/atl-$TIMESTAMP.ldif
/usr/sbin/slapcat -l /nfs/dump/odbackup/atl-$TIMESTAMP.ldif
# Back up local NetInfo data
echo "Backing up local NetInfo store."
/usr/bin/nidump -r / . > /var/backups/atl-$TIMESTAMP.nidump
/usr/bin/nidump -r / . > /nfs/dump/odbackup/atl-$TIMESTAMP.nidump
# Back up Password Server database
echo "Backing up Password Server DB."
/usr/sbin/mkpassdb -backupdb /var/backups/atl-$TIMESTAMP.odpdb > /dev/null
/usr/sbin/mkpassdb -backupdb /nfs/dump/odbackup/atl-$TIMESTAMP.odpdb >
/dev/null
============================
Hopefully that helps.
- --
- ----------
Doug Stewart
Senior Systems Administrator/Web Applications Developer
Lockheed Martin Advanced Technology Labs
email@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiHPpoACgkQN50Q8DVvcvmDSQCfTsPsA3AiLEHambNUcGtreaMx
LBUAmwaiffDFRWRzzE6XE8N3BL7ZJ3Zc
=aZmA
-----END PGP SIGNATURE-----
_______________________________________________
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