Yeah, you'll want the same site directory, because of the configuration and
data files. Otherwise, you'll generate a new site with keys that don't
match some of the state in the database.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com

On Mon, Jul 6, 2015 at 2:08 PM, John Schmitt <marmalo...@gmail.com> wrote:

> Are you suggesting that I copy both the database and also the site
> directory?  Are you suggesting that I skip the `rb-site install` step
> completely?
>
> Thanks for the tips.
>
> On Sunday, July 5, 2015 at 10:39:38 PM UTC-7, Christian Hammond wrote:
>>
>> Hi John,
>>
>> If setting things up to import an existing database, you'd want to copy
>> over the site directory and do `rb-site upgrade` rather than an install.
>> The reason being that `rb-site install` will generate new keys for
>> authentication and for the install key for the version of Review Board
>> (needed for some extensions), and it's important to use the ones associated
>> with the database.
>>
>> Christian
>>
>> --
>> Christian Hammond - chi...@chipx86.com
>> Review Board - https://www.reviewboard.org
>> Beanbag, Inc. - https://www.beanbaginc.com
>>
>> On Sat, Jul 4, 2015 at 8:57 PM, John Schmitt <marma...@gmail.com> wrote:
>>
>>> Do I understand correctly that you do the database import *before *you
>>> run `rb-site install`?
>>>
>>> --
>>> 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 "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to