[Rails] creating a development db from existing db

Dan Gebhardt
2006-08-11T13:51:36Z

Is the development db going to be on a different system than the
existing db? If so, you could just backup your existing db and then
restore it as a new db on your development system.

If you''re using MySQL, backups and restores can be performed with
MySQL Administrator.

Hope this helps.

Dan

On 8/11/06, Chris Finch <christopher.finch@nuth.nhs.uk>
wrote:
> Hi there,
>
> I would like to copy the schema and data from an existing database and
> create a development db with the schema and data.
>
> Is this possible? - I have heard of doing a ''schema
dump'', what about a
> data dump. The data in the existing db is important - I worry that doing
> something could delete the data. Is this fear unfounded?
>
> Chris.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>