Re: Migrating Review Board Database

2012-01-19 Thread Anton Cohen
On Thu, Jan 19, 2012 at 10:24 PM, Chris Baron wrote:

> There is a reviewboard 0.1 version in production.
>
> There is a 1.6 version in a test environment.  Anyone have suggestions
> on the best way to copy the 0.1 production data, transform it into 1.6
> data?
>

What will need to be done will depend on the specific version you are
moving from, and what is missing/different in the database. I did a
migration from a pre-1.0 to 1.5.5. Though it wasn't 0.1, if it had a
version it probably would have been something like 0.9.

I detailed the upgrade in this post:
http://groups.google.com/group/reviewboard/msg/5b445e99632190ab

If your old version is close enough to 1.0 you may not need to
manually manipulate the database at all, just install a new site with a
dump of the old database, and let the Django evolutions do their thing. If
your old version is really, really old, there may be a lot of manual DB
manipulation. I was pretty lucky that there was only one table missing and
I could copy the whole table from a new install.

-Anton

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Migrating Review Board Database

2012-01-19 Thread Christian Hammond
Hi Chris,

0.1, or 1.0? We never had a real "0.1" release of any sort, and anything
that would have had a label at all like that would have been way before
there was any sort of database migration.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Thu, Jan 19, 2012 at 10:24 PM, Chris Baron wrote:

> Hi reviewboard people,
>
> There is a reviewboard 0.1 version in production.
>
> There is a 1.6 version in a test environment.  Anyone have suggestions
> on the best way to copy the 0.1 production data, transform it into 1.6
> data?
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Migrating Review Board Database

2012-01-19 Thread Chris Baron
Hi reviewboard people,

There is a reviewboard 0.1 version in production.

There is a 1.6 version in a test environment.  Anyone have suggestions
on the best way to copy the 0.1 production data, transform it into 1.6
data?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en