Re: [Rails] Database recovery from production.log

2011-12-18 Thread Norm Scherer
One could possibly slam together a script to do this but consider what you have to work with (this will depend on your ROR version): On the version I am using the information in the production log file is the controller/method being called, the HTML verb and the parameters. The controller figur

Re: [Rails] Database recovery from production.log

2011-12-18 Thread Hassan Schroeder
On Sun, Dec 18, 2011 at 11:22 AM, Ernesto Rocha wrote: > I'll try there too. BTW, I'm using mysql. > > gem 'mysql2', '0.2.7' > rails 3.0.10 If you're looking for recovery options, you should probably identify the MySQL version and platform as well. Good luck, -- Hassan Schroeder --

Re: [Rails] Database recovery from production.log

2011-12-18 Thread Ernesto Rocha
Thanks, I'll try there too. BTW, I'm using mysql. gem 'mysql2', '0.2.7' rails 3.0.10 Ernesto On Sun, Dec 18, 2011 at 4:00 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Sun, Dec 18, 2011 at 9:57 AM, Ernesto Rocha > wrote: > > > Anyone has tried before a database recovery from

Re: [Rails] Database recovery from production.log

2011-12-18 Thread Hassan Schroeder
On Sun, Dec 18, 2011 at 9:57 AM, Ernesto Rocha wrote: > Anyone has tried before a database recovery from the production.log ? You might have better luck asking this on a mailing list/forum specific to whatever DB you're using. -- Hassan Schroeder hassan.schroe...@gmail

[Rails] Database recovery from production.log

2011-12-18 Thread Ernesto Rocha
Hi guys, Anyone has tried before a database recovery from the production.log ? Apparently, because a bug from a gem, some tables were complete deleted. I only have a backup from 3 months ago. There is no change in scheme, just new data was added. I've made a quick search and some people already