Questions tagged [recovery]

Use this tag on any questions related to data recovery (in contrast to data restore).

Both the terms recover and restore to retrieving data from a backup. More specifically, recover refers to salvaging one or more files, while a restore usually refers replacing a complete system or hard drive from a full system backup.

Further reading:

752 questions
2420
votes
24 answers

How do I recover a dropped stash in Git?

I frequently use git stash and git stash pop to save and restore changes in my working tree. Yesterday, I had some changes in my working tree that I had stashed and popped, and then I made more changes to my working tree. I'd like to go back and…
Greg Hewgill
  • 951,095
  • 183
  • 1,149
  • 1,285
197
votes
11 answers

How to recover MySQL database from .myd, .myi, .frm files

How to restore one of my MySQL databases from .myd, .myi, .frm files?
chandrajeet
  • 8,833
  • 6
  • 23
  • 15
94
votes
14 answers

How to recover a corrupt SQLite3 database?

This is a follow up question to a previously answered post: Is there a command line utility for validating SQLite databases in Linux? If a database is producing the following error: $ sqlite3 mydata.db "PRAGMA integrity_check" Error: database disk…
linsek
  • 3,334
  • 9
  • 42
  • 55
87
votes
6 answers

Recovering added/staged file after doing git reset --hard HEAD^?

I added a new file F1 and made changes to another file F2 but then did a git reset --hard HEAD^ and I have lost all the changes to the files. Is there some way, I can get them back? I did look at a related question here: How can I undo git reset…
Susheel Javadi
  • 3,034
  • 3
  • 32
  • 34
61
votes
15 answers

How to recover corrupted Eclipse workspace?

I just managed to corrupt contents of my Eclipse .metadata directory. Starting up with eclipse -clean did not work out. Deleting .metadata and then importing all projects, plugins and setting does not sound too interesting. I ended up moving…
Petteri H
  • 11,779
  • 12
  • 64
  • 94
60
votes
3 answers

recovery the deleted Xml file from app in android

Is it possible to recover a deleted XML file from app in Android IDE? Unfortunately I deleted important files from my app.
prakash
  • 1,413
  • 1
  • 21
  • 33
60
votes
1 answer

Wipe data/Factory reset through ADB

Basically this is my problem/ I have 200+ phones running stock Android that need to be wiped (in the Wipe Data/Factory Reset way) and then a new ROM installed with some additional apks. Currently I've got everything automated except the Wipe Data…
deadwards
  • 2,109
  • 1
  • 16
  • 27
52
votes
7 answers

Smarter Vim recovery?

When a previous Vim session crashed, you are greeted with the "Swap file ... already exists!" for each and every file that was open in the previous session. Can you make this Vim recovery prompt smarter? (Without switching off recovery!)…
Bruno De Fraine
  • 45,466
  • 8
  • 54
  • 65
46
votes
1 answer

Using SC to install a windows service and then set recovery properties

I want to set the Recovery Options on a Windows Service I'm installing on a Windows Server 2003. I know this is possible to do manually, but I want to set the Recovery configuration when I install the service. I use SC script to do this: SC create…
user2110298
  • 567
  • 2
  • 5
  • 9
45
votes
3 answers

Changing location of core dump

I want to change the default location of core dump files so that every time a core dump is generated ,it goes to that directory.Also, is it possible to save the dump file by the name of the crashed file in this location?
rogue_knight9
  • 561
  • 1
  • 6
  • 11
42
votes
4 answers

Recover a deleted repository github issues

My repository in the github had been deleted. The code was recovered, but we had a lot of Github issues i'd like to recover, is there a way to recover them once deleted? Thanks.
Adibe7
  • 3,469
  • 7
  • 30
  • 36
42
votes
3 answers

How to recover `.git/index` locally?

I accidentally deleted .git/index, is there a way to recover it? It's permanently deleted. I haven't committed anything yet.
dyarbrough
  • 771
  • 2
  • 8
  • 14
38
votes
10 answers

Recovering file from the Visual Studio document cache?

I've just lost some code. I needed to move a couple of methods from one class to another so i hit save, cut the methods and VS crashed. Now it seems that the save happened after the cut since the code has been saved without those methods but the…
EightyOne Unite
  • 11,665
  • 14
  • 79
  • 105
32
votes
1 answer

.asv files in matlab

When I save a .m file in a folder, MATLAB autosaves a .asv file in the same folder. I opened this file and I found that it contains my code from the beginning, ignoring what I have deleted. What is the use of this file? What's the risk if I delete…
Sepideh Abadpour
  • 2,550
  • 10
  • 52
  • 88
31
votes
3 answers

How do you restore a corrupted object in a git repository (for newbies)?

I tried to open my repository today and it came up with no commit history. Everything I tried (git status, git log, git checkout...) threw an error about a corrupt object. I researched this problem online and found the article by Linus Torvalds, but…
Humble Penguin
  • 323
  • 1
  • 3
  • 9
1
2 3
50 51