# DatabaseEntries deleted by rake

**URL:** <https://www.ruby-forum.com/t/databaseentries-deleted-by-rake/195037>\
**Category:** Rails\
**Created:** [September 15, 2010, 6:00pm UTC](https://www.ruby-forum.com/t/databaseentries-deleted-by-rake/195037 "2010-09-15T18:00:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coldie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5f9b8f/32.png) [@coldie](https://www.ruby-forum.com/u/coldie)\
**Post date:** [September 15, 2010, 6:00pm UTC](https://www.ruby-forum.com/t/databaseentries-deleted-by-rake/195037/1 "2010-09-15T18:00:12Z")

</div>

Hi there,

i unfoutunately raked my rails-project.  
This caused an erase of all entries of my sql database. The Model is  
still there but all entries are missing.

Is the any possibility to redo this steop or recover the entries?

THANK YOU

---

<div class="post-metadata">

**Author:** ![coldie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5f9b8f/32.png) [@coldie](https://www.ruby-forum.com/u/coldie)\
**Post date:** [September 15, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/databaseentries-deleted-by-rake/195037/2 "2010-09-15T19:39:50Z")

</div>

Hans H. wrote:

> Hi there,
> 
> i unfoutunately raked my rails-project.  
> This caused an erase of all entries of my sql database.

What Rake task did that?

> The Model is  
> still there but all entries are missing.
> 
> Is the any possibility to redo this steop or recover the entries?

That’s up to your database and has nothing to do with Rails. You will  
most likely have to restore from your latest DB backup.

> THANK YOU

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![coldie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5f9b8f/32.png) [@coldie](https://www.ruby-forum.com/u/coldie)\
**Post date:** [September 16, 2010, 1:47pm UTC](https://www.ruby-forum.com/t/databaseentries-deleted-by-rake/195037/3 "2010-09-16T13:47:01Z")

</div>

> .\< that has nothing to with rails , did you make a backup?

rake actually just runs commands, what happen was the same as if you had  
erased them manually.

On Wed, Sep 15, 2010 at 1:39 PM, Marnen Laibow-Koser
