Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Backing up and restoring wiki server

Is there a way to backup the wiki server data that can be restored later? Preferably via command line. Is there a directory that contains database files or something like that, that can just be copied to an external source, then recopied back after a clean install? Thanks.

MacBook Pro, Mac OS X (10.6.7)

Posted on Mar 24, 2011 12:30 PM

Reply
Question marked as Best reply

Posted on Apr 15, 2011 8:30 AM

Yes. All the wiki databases are located here:

/Library/Collaboration

You could tar up this folder like:
cd /Library
sudo tar -czvf wiki_backup.tar.gz Collaboration


then, when you need to restore it:
cd /Library
sudo rm -fr Collaboration
sudo tar -xzvf wiki_backup.tar.gz


The only thing that annoying is, after you restore the directory, the wiki formatting is all messed up. To resolve this, you need to reboot the server. Unless anyone else knows how to fix it?

Hope that helps.
4 replies
Question marked as Best reply

Apr 15, 2011 8:30 AM in response to mickey13

Yes. All the wiki databases are located here:

/Library/Collaboration

You could tar up this folder like:
cd /Library
sudo tar -czvf wiki_backup.tar.gz Collaboration


then, when you need to restore it:
cd /Library
sudo rm -fr Collaboration
sudo tar -xzvf wiki_backup.tar.gz


The only thing that annoying is, after you restore the directory, the wiki formatting is all messed up. To resolve this, you need to reboot the server. Unless anyone else knows how to fix it?

Hope that helps.

Backing up and restoring wiki server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.