Questions tagged [data-recovery]

DO NOT USE THIS TAG if your question is about recovering data you lost on your device. Only use this tag for programming issues related to data recovery. Data recovery is a process of salvaging inaccessible data from corrupted or damaged storage when the data cannot be accessed in a normal way.

342 questions
99
votes
8 answers

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…
Christian
  • 9,914
  • 6
  • 45
  • 52
64
votes
1 answer

Can I rollback a transaction I've already committed? (data loss)

I committed an incorrect UPDATE statement and have lost some data. Is it possible to rollback now, after I've already committed? Any help? ROLLBACK says NOTICE: there is no transaction in progress.
SSS
  • 1,380
  • 3
  • 28
  • 48
26
votes
1 answer

Recover old website off waybackmachine

Is there a way to recover an entire website from the waybackmachine? I have an old site that is archived but no longer have the website files to revive it again. Is there a way to recover the old data so I can get my long lost files back?
Dustin
  • 261
  • 1
  • 3
  • 4
23
votes
3 answers

Deleted database accidentally by a bash script, rescue please

My developer committed a huge mistake and we cannot find our mongo database anyone in the server. Rescue please!!! He logged into the server, and saved the following shell under ~/crontab/mongod_back.sh: And then he run ./mongod_back.sh, then there…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
16
votes
4 answers

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....
assaqqaf
  • 1,575
  • 4
  • 21
  • 38
15
votes
2 answers

Getting the last version of a deleted folder in subversion

I need to get the content of folder deleted from our repository long time ago I still know the name of the folder I don't know the revision in which it was deleted I don't know the date when it was deleted In the history of the parent directory…
Matteo
  • 14,696
  • 9
  • 68
  • 106
15
votes
1 answer

C# classes to undelete files?

Possible Duplicate: How do I restore a file from the recycle bin using C#? Recovering deleted file on windows I am working on an application that is intended to recover deleted files from the system(both those from recycle Bin and those already…
kev
  • 555
  • 1
  • 3
  • 14
15
votes
8 answers

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…
Martin
  • 5,945
  • 7
  • 50
  • 77
9
votes
3 answers

Recovering Git repository from objects only

I have a Windows box which has taken it into it's head to delete most of a Git repository (must have tripped the Important Work Detector ;). All I have left (that I can find) is the objects. I'm not sure how complete the collection of objects is,…
Jashank Jeremy
  • 360
  • 1
  • 4
  • 14
8
votes
3 answers

Linux file deleted recovery

Is there a way to create a file in Linux that link to a specific iNode? Take this scenario: There is a file that is in course of writing (a log maybe) and the specific file is deleted but a link in the dir /proc is still pointing at it. In this case…
poe84it
  • 354
  • 2
  • 8
8
votes
1 answer

Writing your own partition recovery

I realise that the question I'm asking isn't a simple "O, that's easy! Do a simple this and that and voilà!" Fact is, without thinking one night I deleted the wrong partition. I tried a few Windows and Linux tools (Partition disk doctor, Easeus,…
aggregate1166877
  • 2,196
  • 23
  • 38
7
votes
0 answers

C# - Reading free space bits on harddrive

Possible Duplicate: How can I undelete a file using C#? Ever since I recovered a document using a software called Undelete, that scans your free space and shows you what files are recoverable, I was curious on how to program this. Being a new…
user162941
  • 101
  • 2
  • 3
7
votes
5 answers

Empty source file after crash in Visual Studio?

So I have been working on my game project in XNA for my diploma for 3 months now... was just finalizing everything and ready to submit when suddenly... BLUE SCREEN. Computer restarts and my main.cs file is full of stupid spaces. No more code. That's…
bbrez1
  • 135
  • 2
  • 10
6
votes
1 answer

Is the geometry of data on burnable media deterministic?

Is it possible to determine the physical location (e.g. angle + radius) for a particular bit on a CD/DVD/BluRay disk? The reason I'm asking is this, I want to design a data structure which stores recovery information approximately on the opposite…
Martin
  • 911
  • 7
  • 21
6
votes
0 answers

Corrupted JS, CSS and PHP files

I know that this is a really dumb question but after I reformatted my flash drive ( it says it's corrupted and needs to be formatted so I did it ) and used a recovery software to recover the files that are in it, I got all my files back. However,…
o2kevin
  • 707
  • 1
  • 5
  • 20
1
2 3
22 23