?
Solved

Recover Database From Mistake Dropped CentOS

Posted on 2011-02-22
6
Medium Priority
?
585 Views
Last Modified: 2013-12-15
Hello there, is there any way i can recover dropped database from CentOS Linux ?
0
Comment
Question by:DjZoC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:gambith
ID: 34956846
are there any backups?
0
 

Author Comment

by:DjZoC
ID: 34957504
the backup is from 3 weeks ago ... but is not all ... is anyway to i can recover the db ?
0
 
LVL 1

Accepted Solution

by:
gambith earned 1000 total points
ID: 34957555
Basically, Hardly.

DROP DATABASE drops all tables in the database and deletes the database.

now for the undelete part,  it will be quite hard to undelete the files.

There's a full tutorial on how to undelete EXT3 (http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html)

if you manage to recover the files, do a recover from file to your mysql server.
0
 
LVL 24

Assisted Solution

by:Joe Woodhouse
Joe Woodhouse earned 1000 total points
ID: 34967313
Adding to the above, even if you can recover the underlying files (and remember you don't have a direct relationship between files and databases - depending on your Sybase product, databases are defined on devices or dbspaces, and you have files for those)... that's still no guarantee you'll get the database back.

File system buffering may mean the underlying files are not what the database engine is looking for.

If you don't have database backups then it's pretty much gone. If your last backup is from three weeks ago then

1) that's what you can restore to, and
2) time to start running more frequent backups.
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 35510896
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question