Importing an old postgres database into a new instance of Reviewboard

9 views
Skip to first unread message

Jimmy Griffin

unread,
Jun 16, 2020, 4:18:37 PM6/16/20
to Review Board Community
Hello All, 

Would someone be able to provide guidance for importing a copy of the database from an old instance of ReviewBoard into the newer release of ReviewBoard? 

Thanks

-JG-

P.S. I'm running the latest version that was just released. 


Christian Hammond

unread,
Jun 16, 2020, 10:37:08 PM6/16/20
to revie...@googlegroups.com
Hi Jimmy,

You should be able to simply use Postgres's standard tools for importing the database onto the new server (or perhaps even just copy all the underlying files).

Once you have the old version's database on the new server, and you have the new version of Review Board installed, you'll need to make sure you copy the site directory from the old server to the new one and then edit the site directory's conf/settings_local.py file to point to the new database.

It's important that you do copy the site directory over, as it contains the file attachments, some data files, and the key used for encryption for that install.

Then, you just run `rb-site upgrade /path/to/sitedir` to have Review Board upgrade the database schema from the old version to the new one.

Christian

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/f525197e-abed-4c42-b5d7-884b1a2187c3o%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board
Reply all
Reply to author
Forward
0 new messages