January 25th, 2010
While migrating our servers services from 10.5 to our 10.6.2 production server one of the easiest migrations that I had found was to migrate the 10.5 Wiki. Simply copying files and making sure that the permissions remain in tact are really all you need.
However in 10.6.2 there is a detachment from the way you authenticate. You create access for each blog based on the settings in the web interface rather than in Workgroup Manager. This threw me off a bit the first time due to the fact that I had already had our previous wiki server split up into groups using workgroup manager.
Here is how I migrated our wiki, the default directory for wiki and blogs on 10.5 and 10.6 is
Inside that folder, you’ll find a Groups folder of interest. You’ll want to repeat the following procedure for each group:
sudo serveradmin stop teams sudo mv
/Library/Collaboration/Groups/ sudo chown -R _teamsserver:_teamsserver /Library/Collaboration/Groups/ sudo rm /Library/Collaboration/dataVersion.plist sudo rm /Library/Collaboration/globalIndex.db sudo rm /Library/Application Support/Apple/WikiServer/directoryIndex.db sudo serveradmin start teams
Once you complete those steps, you’ll need to login as an administrator and set the permissions for the wiki(s). 10.6 removes the privileges for wikis from Workgroup Manager and instead allows for security management via the wiki web interface.
Once we were done with the wiki, we had to migrate over DNS this was a little bit scary however retyping our DNS records was equally as scary. I decided to try to migrate the settings since it was sanctioned by Apple.
Basically the first step was to stop DNS service on your Snow Leopard server. I then created a backup of my DNS config files that lived on my Snow Leopard server in the event that everything went bad.
mkdir /var/backups/dns; cp -r /etc/dns /var/named /etc/named.conf /var/backupsdns