First time here? Check out the FAQ!
0

Migrate to new server and new version?

We are running 0.6.70 from 2011 but want to upgrade to the latest. Having built the server, made our customisations we now want to import the data from the live site. Can this be done or do we need to upgrade the source database first? The site uses MYSQL and has about 100 questions + answers, users etc.

Rupreck's avatar
305
Rupreck
asked 2013-07-23 09:01:04 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Create a new site from scratch, update your theme to be compatible with the latest version, point the site to use a copy of your existing database, then use Django South migrations command:

python manage.py migrate

The command can accept names of the apps to migrate.

Evgeny's avatar
13.2k
Evgeny
answered 2013-07-23 15:45:47 -0600
edit flag offensive 0 remove flag delete link

Comments

Success (in the end) on an ubuntu EC2 instance - thanks! The database migration went smoothly between 0.6.70 and 0.7.48 once the database engine was set to InnoDB with uft8 character set and collation utf8_general_ci hard set. Minor issues with markdown/tinymce and admin media remain.

Rupreck's avatar Rupreck (2013-09-16 06:17:44 -0600) edit
add a comment see more comments