Discussion:
Moving from 2.0 to 2.1
David Anderson
2012-05-10 12:18:15 UTC
Permalink
I am using the bitnami stack. I have exported my 2.0 to a yaml file, how
do I import it into 2.1?

Regards
David
Tim Madden
2012-05-10 18:02:09 UTC
Permalink
Hi David,
The export functions have been there for as long as I can recall, but
there has never been an import function. If you have upgraded from 2.0
to 2.1 on the same server then you should just have to run 'bundle exec
rake db:migrate' to upgrade the old database to the 2.1 structure. If
you are moving servers at the same time, then you have a couple options
depending on which database you have been using. If you use sqlite then
I think you can just move the database file itself. If mysql, then you
would need to do a database dump from one mysql and import it into the
new one. If you server happens to have phpmyadmin (a web interface to
mysql), then that has some easy to use tools to help with this task. If
you have just the command line, then you would use mysqldump to export
it. Google can direct you to guides for that. Regardless, you will have
to run the db:migrate task to upgrade the schema.

Good luck!
Post by David Anderson
I am using the bitnami stack. I have exported my 2.0 to a yaml file,
how do I import it into 2.1?
Regards
David
_______________________________________________
Tracks-discuss mailing list
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Loading...