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

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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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