Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Upgrade by Copying Data

Tim Morgan edited this page Jan 19, 2015 · 4 revisions

You may find yourself in the situation of wanting/needing to install OneBody from scratch, using one of the many techniques on the Installation page. But what about your existing data?

You can just copy it over! Here's what to do:

  1. Install OneBody anew.

  2. Copy your database over. Full instructions for that are a google search away, but might look something like this: mysqldump -uroot onebody > onebody.sql, copy the file to the new server, then mysql -uroot onebody < onebody.sql.

  3. Copy everything in the public\system folder over to the new server.

  4. Run the database migrations:

    RAILS_ENV=production rake db:migrate