Home > open-source, tricks > One Way to Restore Eclipse Workspace

One Way to Restore Eclipse Workspace

My desktop got frozen and I had to restart it. After the restart I could not start Eclipse with my workspace, although it could start with newly created workspaces. I tried this (with the right link to the Restorer). Nothing worked (the Restorer did not even start). Here is the solution that worked for me. Delete “.snap” file under “C:\path\myworkspace\.metadata\.plugins\org.eclipse.core.resources” (where C:\path\myworkspace is an example of a path to the workspace) and start Eclipse with your workspace.

Note: This worked for version 3.5.2.

  1. November 10, 2010 at 03:20

    Thanks a lot! You saved my day!

    This worked for me on Eclipse 3.5.2.R35 Galileo SR2

  2. -
    January 5, 2011 at 19:05

    Eclipse 3.4.1 here. Didn’t find a .snap file, but removing workspace/.metadata/.lock
    and workspace/.metadata/.log seems to have worked.

    • January 6, 2011 at 06:13

      I don’t have Eclipse 3.4.x anymore. So I cannot verify. Thanks for the advice.

  3. Michael
    February 3, 2011 at 18:11

    great solution.
    glad i found your site.

    saved me some good time!

  4. dude
    May 5, 2011 at 02:52

    thanx man i owe u

  5. Marcel
    June 23, 2011 at 10:28

    thanks a lot man , you saved my day as well , and it worked for helios sr2

  6. C.Ranga Swamy
    July 13, 2011 at 01:40

    eclipse : IDE-helios-SR2-package/eclipse-jee-helios-SR2-linux-gtk-x86_64(2).tar.gz

    An error has occurred. See the log file

    already i deleted :
    /home/cupola-hadoop-project/hadoop-project-worlspace/.metadata # rm .lock

    but problem not fixed can any give suggestion:

    C.Ranga Swamy

    • July 13, 2011 at 07:50

      I should have added that I fixed that problem in Eclipse under Windows. Based on your information, you use Eclipse under Linux. My gut feeling is Eclipse corrupts workspaces differently on different platforms. I am still interested to hear how you fixed the problem (if you fix it).

      BTW, there is no way I could take a look at your .log file.

  7. Anatol
    February 6, 2012 at 04:47

    Thanks a lot for your tip.

  8. Radi
    May 22, 2012 at 13:01

    Thank you very, very, very much!!!

  9. ygor rodrigues
    July 19, 2012 at 10:42

    Thanks a lot for your hint!

  10. Assaf
    August 7, 2012 at 03:20

    Another day saved here 🙂 thanks.

  11. September 1, 2012 at 07:53


  12. John
    October 2, 2012 at 12:02

    Thank you!

  13. Peter Bagshaw
    November 5, 2012 at 13:07

    Thank You!

  14. Tariq Ahmed
    November 27, 2012 at 01:15

    thanks a lot. It worked for me.

  15. Stephanie
    March 12, 2013 at 16:22

    This worked for me on Eclipse Juno. Thank you!

  16. July 20, 2013 at 04:15

    It works!! Thank you!

  17. pooja
    August 13, 2013 at 16:23

    hi , any one tell my eclipse workspace is invisible , how to back to workspace with having all project explorer files ?

    • August 13, 2013 at 22:59

      Have you tried to click on “Browse” and pick your workspace location?

  18. vince
    November 28, 2013 at 00:57

    Running Eclipse Helios on Win7. To revert back to lost workspace..Open Eclipse>>File>>Switch Workspace

  19. October 27, 2014 at 06:32

    Thx a lot for share. Saved many time.

  20. Manjunath
    June 18, 2015 at 04:29

    How can i restore a project which i deleted from eclipse kepler 4

  1. November 19, 2014 at 16:22

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: