Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Export a Forum Page


Go to End


2 Posts   1290 Views

Avatar
djaffinito

Community Member, 4 Posts

6 August 2010 at 10:11am

Is there a way to export all the information under a forum page? I have a forum page called "openfire" with several threads that I'd like to export to a file or some kind of backup. Thanks

Avatar
Willr

Forum Moderator, 5523 Posts

6 August 2010 at 4:21pm

Well you can backup the forum page via your database. The module itself does not have anything specific to backing up but if you want to back up your mysql database you will want to backup the following tables...

* SiteTree - Stores all the live page data of all your pages, to back up just your forum you want to backup any records which have a ClassName of 'ForumHolder' or 'Forum'

* ForumHolder - Stores information about your forum holder (access rights, settings)
* Forum
* Post - Posts in the forum

And if you're using trunk you'll need the 'ForumThread' table.

Lots of tutorials on how to backup mysql online (eg http://www.devshed.com/c/a/MySQL/Backing-up-and-restoring-your-MySQL-Database/)