data-recovery

Maintaining an index of a filesystem

I need to record in some kind of file, the specific time at which blocks are written to in a filesystem, over a number of physical disks (RAID). I intend to do this by periodically by interrogating the writing device to find out which block it is writing to at that specific time. At some later date it will be necessary to locate and r...

Best data recovery tools?

So due to a recent act of stupidity and bravado, I uttered the words "backups! who needs backups?!" and what followed was the tragic loss of 260gb of data. This scenario in particular is requiring me to recover a repartitioned hard disk, but I was wondering what tools people here use in general to recover lost data. I'm sure everyone h...

Recovering formatted partition

I accidentally hit 'format' in qtparted on my ext3 partition (for Ubuntu), which I was analyzing via another computer. The list of four messages it gives during the format process include "writing inode table" and "writing filesystem", or something similar. How can I view this data? The tools I've looked at appear to either require inta...

How to recover database from MDF in SQL Server 2005?

I have an MDF file and no LDF files for a database created in MS SQL Server 2005. When I try to attach the MDF file to a different SQL Server, I get the following error message. The log cannot be rebuilt because there were open transactions/users when the database was shutdown, no checkpoint occurred to the database, or the database...

How to recover Git objects damaged by hard disk failure?

I have had a hard disk failure which resulted in some files of a Git repository getting damaged. When running git fsck --full I get the following output: error: .git/objects/pack/pack-6863e0a0e4b4ded6090fac5d12eba6ca7346b19c.pack SHA1 checksum mismatch error: index CRC mismatch for object 6c8cae4994b5ec7891ccb1527d30634997a978ee from .g...

NTFS (Direct) Reader for Linux

I managed to damage my NTFS partition pretty well (Details*; I don't think its extremely relevant but it might be.) and was wondering if there is any linux tool that can read an invalidly partitioned harddrive. In particular, Active@ NTFS Reader does exactly what I need; it seems to trust less of what the file system is telling it and fr...

mysql: recover database from frm files

At some point my MAMP installation became corrupt and I decided to move to XAMPP instead. However I now can't get my databases across. Other people have said I simply need to copy the DB files to XAMPP but this only partially work. I can see the databases however all the tables have message "in use" and if I try to query a table I get ...

Copy data between tables in different databases without PK's ( like synchronizing )

I have a table ( A ) in a database that doesn't have PK's it has about 300 k records. I have a subset copy ( B ) of that table in other database, this has only 50k and contains a backup for a given time range ( july data ). I want to copy from the table B the missing records into table A without duplicating existing records of course...

How can I undelete a file using C#?

I'm trying to find some lost .jpg pictures. Here's a .bat file to setup a simplified version of my situation md TestSetup cd TestSetup md a cd a echo "Can we find this later?" > a.abc del a.abc cd.. rd a What code would be needed to open the text file again? I'm actually looking for .jpeg files that were treated in a similar manner ...

Recovering HyperSQL Database

We are using JBoss 4.0.3 SP1 using Hypersonic as its internal storage engine (timers, queues, etc.) The database is no longer accessible (most likely data corruption) giving error; Caused by: org.hsqldb.HsqlException: old version database must be shutdown. Is there a way or command to shutdown the database to recover the data (~150MB) ...

Unzipping unfinished gzip...possible?

So I just spent a week running a simulation, but the computer had to be turned off to move it (terrible, I know). The data that was being produced was being zipped due to it's size by piping it into gzip, but since the simulation wasn't finished, I can't unzip the .gz file. We have since started the simulation over, but I was wondering...

Recovery after wrong MySQL update query?

I made a wrong update query in my table. I forgot to make an id field in the WHERE clause. So that updated all my rows. How to recover that? I didn't have a backup.... ...

How recover sybase database (unknow db version)

I have a database file (*.db) that need to be recovered. The bad is, the end-user have null idea of the version of the database. Not know the password. The original developer is lost. The computer where was installed was formatted. We have not experience in this database software. Yeah, nightmare. My guess is a old database. I'm trying...

Saving data recovered from a hard drive that crashed - how to sort out current from tmp and old files

I recently lost access to my Seagate eSATA HD after my Mac froze up and I had to do a hard shut down of both the Mac and my eSATA drive. When plugged in, OSX says I must initialize the disk before use (Windows says the same thing, but uses the word "format"). I figured out the drive is now in RAW format. I found a nifty little program ...

How to recover data from a table, and store that into list?

How can I get ALL the data from a table of my DB (mySQL) using hibernate, and store the output into List of Objects? I'll use this List, to populate a JTable. ...

Get data back with extension .java

I delete my java program from java project in eclipse. The extension was .java and I don't know how to get back? I try (getdataback for NTFS) but I didn't get back my *.java file. Some solution? ...

How to recover a deleted row from SQL Server 2005 table ?

Hi Gurus, How to recover a deleted row from SQL Server 2005 table ? Thanks, Ahmed. ...

how to restore postgresql DB without backup

Forgot to make a backup. Now I have harddrive with databases and new system with empty postgres. Can I somehow restore databases? by simple copy of files etc? ...

Recovering deleted file on windows

I want to write a program to recover recently deleted files on windows 7.. Is there a function in windows API that recover files? If not, how can I begin in that? EDIT: Or an open source project for that? EDIT: I do not mean Recycle Bin!! ...

How to use e-sata external port to access a sata drive

I have laptop with an external e-sata/USB combo port. I have an internal Seagate SATA drive removed from another laptop. I want to recover the data in this disc. Is it possible to connec t this hardisk through the e-SATA port? If so, what cable would I need to connect in? ...