Questions tagged [recover]

The recover tag is used to mark questions that have something to do with recovering data. By itself, it is ambiguous and useless and must be combined with other, appropriate tags such as software packages and database system tags, operating system tags, programming language and programming language environment tags.

Recovery usually involves some need to regain lost data whether that data is management data such as the management data of a database resulting in database access failing or raw data such as the contents of a database record or a file.

Any post using the [recovery] tag must include additional tags and a write up that helps the reader to know the context of the failure that lead to data loss along with the operating environment at the time of the data loss.

The post should include what was being done at the time of the data loss, any error logs generated, steps taken after the data loss such as recovery procedures executed along with their results, and a description of the actual data lost.

Context information may include: the operating system, the database system, the source code repository package, the programming language being used, the kind of data that was lost, and/or the IDE being used.

322 questions
11
votes
1 answer

Safe close connection in Golang

When I open a socket connection, I immediately put the socket.Close() logic in a defer function after the opening of the socket. However, what if the socket.Close() would cause another panic? Should I always nest another defer/recover inside the…
user1663023
11
votes
4 answers

git deleted everything, how to recover files and folders

It was the first time that I was using git, I wanted to import an existing project into github and everything was deleted. After search for an answer I think git deleted the files after git pull, I'm trying to recover the files and folders but I…
PEREYO
  • 137
  • 1
  • 1
  • 6
10
votes
1 answer

java.sql.SQLException: Io exception: Broken pipe how to recover without restart?

In my application I use connection to Oracle, when connection lost and I try to re-connect I receive exception: java.sql.SQLException: Io exception: Broken pipe at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124) at…
user710818
  • 23,228
  • 58
  • 149
  • 207
9
votes
1 answer

Recover deleted file in sublime text 3.0?

I just hit "delete folder" by mistake while I was trying to rename a file in Sublime Text 3.0. It seems that it's gone forever. Is there any desperate way of recovering that file ? I was working on winSshFS directly local, no github. It is not in…
Pop Vlad
  • 181
  • 2
  • 9
9
votes
2 answers

Recover admin password and email Odoo server

Months ago, I installed an Odoo server and it worked perfectly ! Problem is that I forgot the identification (email/pass) for the admin, wich is real bad. After uninstalling the server and reinstalling it I found out that the database was not wiped.…
Sam
  • 511
  • 2
  • 5
  • 15
8
votes
2 answers

Need to recover older $PATH setting

I have just installed an app which overwrote my $PATH variable... so now, a bunch of stuff will not work. While I have a full backup, I am hoping that there is an easier approach than to restore, get the PATH, the "roll it forward" again. Is there…
user1009073
  • 3,160
  • 7
  • 40
  • 82
8
votes
2 answers

How can I detect a hang in QEventLoop?

I am not sure if the title of my question is formulated correctly, so to explain what I really mean, consider the following example: I create a QApplication and a QWidget with a QPushButton on it. Then I attach a handler to the click signal from the…
Mr. Developerdude
  • 9,118
  • 10
  • 57
  • 95
7
votes
4 answers

How can I recover lost/deleted/reset VS Code settings?

Somehow all my User settings in VS Code have been reset and deleted and when I open the user settings JSON file I cannot find my previous settings. How can I restore my previous versions of VS Code settings?
Mohammad Alavi
  • 912
  • 1
  • 6
  • 16
7
votes
1 answer

How can I access the content from my Github Organization's wiki that disappeared?

I am part of a Github Organization that has been using the Wiki feature for documentation in a private repository for over a year. We had created many pages for internal use, but the wiki disappeared in the last week. We use a free organization…
ascendants
  • 2,123
  • 3
  • 11
  • 22
7
votes
2 answers

How does a caller function to recover from child goroutine's panics

I used to think the panic in a goroutine will kill the program if its caller finishes before the panic (the deferred recovering gives no help since at that point there's no panic occurs yet), until I tried following code: func fun1() { …
Dave Wu
  • 145
  • 3
  • 8
7
votes
1 answer

How to repair, or drop/create a corrupted table in mysql?

Situation: I have a MySQL database with 104 tables, running locally on XAMPP on windows 7. All the tables have InnoDB engine. XAMPP MySQL is running as windows service. As front end I have PHP (CodeIgniter). Problem: Last night as usual I stopped…
Musa Haidari
  • 2,109
  • 5
  • 30
  • 53
5
votes
4 answers

how to run hg recover command on a remote repository

I am getting the following error while running build in teamcity. Failed to collect changes, error: '"C:\Program Files\TortoiseHg\hg.exe" --config ui.interactive=False pull https://test:******@hg.myrepo.co.uk/terriff' command failed. stdout: pulling…
sam
  • 4,594
  • 12
  • 61
  • 111
5
votes
2 answers

Can deleted files that are added but not committed in Git be recovered?

I am new to git, and I just made a stupid mistake, that I deleted some important files by "rm *" command. However, I did use "git add" to add those files, but not commit. the deletion is not added yet. So is there any way to recover these deleted…
user1672893
  • 61
  • 1
  • 3
5
votes
2 answers

Tomcat servlet engine is not running, but pid file exists. What does this message mean? Do I need to recover Tomcat if I get it?

I am making a shell script to restart tomcat after crash. I wonder I need to handle this message in my script "Tomcat servlet engine is not running, but pid file exists." What does this message means? Do I need to take it into account as an error…
Rami
  • 8,044
  • 18
  • 66
  • 108
5
votes
5 answers

Vim - indent and syntax highlight broken after recover file

I was editing a file with vim. I started another vim to edit the same file, it said that the /tmp/file.swp exits, press "R" to recover it. I chose to recover. But after that, syntax highlight didn't work on that file (other files still ok). I tried…
Trantor Liu
  • 8,770
  • 8
  • 44
  • 64
1
2
3
21 22