# Rake db:schema:dump \[ Newbie Question \]

**URL:** <https://www.ruby-forum.com/t/rake-dbdump-newbie-question/85992>\
**Category:** Radiant CMS\
**Created:** [February 18, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/rake-dbdump-newbie-question/85992 "2007-02-18T19:46:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksteiger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f1d935/32.png) [@ksteiger](https://www.ruby-forum.com/u/ksteiger)\
**Post date:** [February 18, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/rake-dbdump-newbie-question/85992/1 "2007-02-18T19:46:00Z")

</div>

I hosting my application on [hostingrails.com](http://hostingrails.com). Being new to rails and  
radiant I began my application in production mode due to difficulties  
trying to deploy from my development application. I have gained a better  
understanding of how radiant uses instance mode yet I am unable to  
perform a rake db:schema:dump in order to move the production db to a  
development db. I have tried performing a rake both in my\_app and  
radiant/radiant folders, each failed to produce a rake of my db. Any  
help would be greatly appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![ksteiger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f1d935/32.png) [@ksteiger](https://www.ruby-forum.com/u/ksteiger)\
**Post date:** [February 18, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/rake-dbdump-newbie-question/85992/2 "2007-02-18T19:57:00Z")

</div>

Kris,  
Are you getting any error messages?  
Are you 100% sure your database.yml file is correct?

More information would be helpful.  
Good luck,  
BJ Clark

---

<div class="post-metadata">

**Author:** ![ksteiger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f1d935/32.png) [@ksteiger](https://www.ruby-forum.com/u/ksteiger)\
**Post date:** [February 18, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/rake-dbdump-newbie-question/85992/3 "2007-02-18T20:06:02Z")

</div>

— Trying to run a rake db:migrate under my\_app folder  
rake aborted!  
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,  
Rakefile.rb)  
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in  
`load\_rakefile’  
(See full trace by running task with --trace)

— Trying to run a rake db:migrate under RADIANT\_ROOT (radiant/radiant)

rake aborted!  
No such file or directory -  
/home/forwardf/radiant/radiant/config/…/config/database.yml

(See full trace by running task with --trace)

Basically it seems that under the instance it can not find the rake file  
where as under the radiant app it finds no database.yml. If i created a  
database.yml inside the RADIANT\_ROOT would it work?

forwardf@raptor [~/forwardfoot]#

---

<div class="post-metadata">

**Author:** ![ksteiger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f1d935/32.png) [@ksteiger](https://www.ruby-forum.com/u/ksteiger)\
**Post date:** [February 18, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/rake-dbdump-newbie-question/85992/4 "2007-02-18T22:15:13Z")

</div>

Kris Steigerwald wrote:
