Oh, and if the path to the site is different on the new server, you'll need to do a find&replace in the dump file.
Ian On Wed, Nov 16, 2011 at 11:18 PM, Mail Team <email....@gmail.com> wrote: > I *just* finished doing this on my server, not super intuitive but once > you get the process it works pretty well. You need to still have your old > server running for this to work. > > 1. On the old server, dump your site data. > sudo rb-site manage /path/to/site dumpdata > /path/to/backup/rbdump.json > > 2. Open the dump file in a text editor and find all the entries > whose "model" is "contenttypes.contenttype" or "scmtools.tool", and delete > those entries. > > 3. On the new server, create a new site following the directions on the > ReviewBoard site. Note that you don't have to use the same database type > as your old server (my old server used MySQL, my new server uses > PostgreSQL). > > 4. On the new server, load the old site data. > sudo rb-site manage /path/to/site loaddata /path/to/backup/rbdump.json > > 5. (Optional) For good measure, reboot your new server. > > Ian > > > On Wed, Nov 16, 2011 at 7:28 PM, RAY <ervin.zhang1...@gmail.com> wrote: > >> I had a reviewboard using in a server in past, but now the server has >> been replaced by new computer. I have install a new reviewboard >> environment on this new computer, and then I need move all original >> data from old environment to new one. How to move it? >> Could I backup database from old reviewboard and recover it on new? >> >> Thanks >> BR, >> RAY >> >> -- >> 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