My mate did rake db:drop on producation , can any please help urgently
any
possible solution?

Thanks
Rajeev
My mate did rake db:drop on producation , can any please help urgently
any
possible solution?

Thanks
Rajeev
Restore your database from a backup.
Yeah - sorry but youāre screwed. Hope the backup is in good shape.
Colin L. wrote in post #1021900:
On 14 September 2011 12:39, Rajeev Kannav Sharma
[email protected] wrote:My mate did rake db:drop on producation , can any please help urgently any
possible solution?Other than that I think you will have to restore from backup. If you
have not got one then possibly the web site host does.
Oh, and while youāre at it⦠Fire your mate! ![]()
If you are able to recover from this, Iām guessing your next task is to
implement a backup strategy. Remember,
having one copy is not a sufficient backup policy. I donāt consider data
to be ābacked upā until there is at minimum two full backups (the
original, plus one local backup, plus 1 off-site backup).
I created two command line scripts for my production server. One runs on
the server using cron to perform a local mysqldump as a local backup.
The second one runs under launchd on my main development Mac, which
uses secure copy (scp) to download the backup file that was generated by
the script that runs on the server.
On 14 September 2011 12:39, Rajeev Kannav Sharma
[email protected] wrote:
My mate did rake db:drop on producation , can any please help urgently any
possible solution?
A red hot poker possibly?
Other than that I think you will have to restore from backup. If you
have not got one then possibly the web site host does.
Colin
ā
gplus.to/clanlaw
On Sep 14, 2011, at 10:23 AM, Robert W. wrote:
Oh, and while youāre at it⦠Fire your mate!
If you are able to recover from this, Iām guessing your next task is
to
implement a backup strategy. Remember,
having one copy is not a sufficient backup policy. I donāt consider
data
to be ābacked upā until there is at minimum two full backups (the
original, plus one local backup, plus 1 off-site backup).
Iāll add that you donāt really have a backup policy (strategy) until
you are sure that you can RESTORE your backup. It doesnāt matter how
many copies you have if you canāt use them.
-Rob
P.S. The larger strategy which includes backup is a disaster recovery
plan. Could you recreate a production environment on a completely
clean platform?
Posted via http://www.ruby-forum.com/.
Rob B.
[email protected] http://AgileConsultingLLC.com/
[email protected] http://GaslightSoftware.com/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs