I'd like to finally! get going and migrate my Stack Exchange 1.0 site to OSQA.

I setup a beta site that's running on OSQA, and I would like to:

  1. Migrate all the data
  2. Run it as a pilot for some period.
  3. Do some tweaks to the configuration in this period
  4. When I'm satisfied it works, I want to just keep the config, and wipe everything else (questions, answers, users), and do a re-import.

What's the best path to achieve this? Is there a complete "export/import config only" feature? Has anyone tested it?

asked 29 Jun '11, 01:53

ripper234's gravatar image

ripper234 ♦
3.2k60116123
accept rate: 19%

edited 29 Jun '11, 01:53


You can just backup the forum_keyvalue table, and restore it after the second import. That's totally fine.

link

answered 29 Jun '11, 06:15

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

Thanks, I converted your comment to an answer. Will test it and see if it works.

(29 Jun '11, 07:23) ripper234 ♦

cool, that looks really nice - it really does look like all config values are in that one table; and that nothing else is. Hurray!

(29 Jun '11, 07:30) Andrew_S ♦

As you know, any changes you made to a custom theme, or tweaks to the source, would be easy to move to a live site: just copy the files over. Or, even better, track your changes in a source-code manager such as Mercurial or Git, and apply the changes to the latest trunk when you go live. And that goes for the settings_local.py file too.

As for changes that are stored in the database, I guess the easiest / quickest/ dirtiest way, would be to print off copies of your admin screens when you're happy with the beta, and then enter them onto your live site. Not pretty, but it will work without any coding, and you're guaranteed that it won't cause any internal consistencies in the database. And you'll have a permanent paper backup of your config, should you ever need it.

link

answered 29 Jun '11, 02:42

Andrew_S's gravatar image

Andrew_S ♦
5.6k45674
accept rate: 21%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×39
×37
×8

Asked: 29 Jun '11, 01:53

Seen: 783 times

Last updated: 29 Jun '11, 07:30

powered by OSQA