Ask Your Question

Are dump_forum and load_forum supported on 0.7?

asked 2017-01-23 13:43:57 -0500

dccarson gravatar image

updated 2017-01-27 09:09:36 -0500

Evgeny gravatar image

It seems that dump_forum and load_forum are no longer supported on the 0.7.x release stream.

If they are still supported, can someone explain where they have gone and how I can use them.

(0)[root@topsail askbot_top] python | grep -i forum
(1)[root@topsail askbot_top]

If they are not supported, is there any way to produce a database-agnostic dump of all the data in a running system?

For example, suppose I wanted to switch my database from MySQL to postgres. I cannot see how this is possible without having some form of dump that knows nothing about database specifics. (Note that this is not necessarily my question. I want to know the answer to the more general question of running dump_forum/load_forum or equivalent.)


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-23 13:46:18 -0500

Evgeny gravatar image

updated 2017-01-24 09:56:08 -0500

Not supported, instead please use database dump and restore facilities (e.g pg_dump)

However, Django has commands dumpdata and loaddata - these should work across different database backends.

If you are looking to convert a large MySQL database to PostgresQL - have a look at available tools:

Also, please have a look at this documentation page

edit flag offensive delete link more


In my example, say I want to move from MySQL to postgres. I cannot dump a MySQL database and restore it to a postgres database, can I?

dccarson gravatar imagedccarson ( 2017-01-23 13:47:49 -0500 )edit

@dccarson - update my answer, pls have a look.

Evgeny gravatar imageEvgeny ( 2017-01-24 09:24:45 -0500 )edit

OK, I'll give those ideas a try. Thanks.

dccarson gravatar imagedccarson ( 2017-01-24 09:54:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-01-23 13:43:57 -0500

Seen: 90 times

Last updated: Jan 24