Hi , i accidentally deleted 10 days of code working :( . . Anyone can recommend me a recovery files software , i tried Stellar Phoenix Recovery but some of (.pas) was corrupted .. any suggestion please ?

Comments

  1. The IDE stores history -- unless you deleted the *.~*~ files, you should have it all in the __History folder.

    Otherwise, I assume you'll set up and start using source control immediately.

    ReplyDelete
  2. Yes the whole partition deleted unfortunately

    ReplyDelete
  3. From now on you should use a source control system like Git or SVN and push/commit your work at least once a day to a remote repository.

    When even the _History folders are deleted then you'll probably don't get your work back.

    ReplyDelete
  4. Hamza Benzaoui it's gone, finito, better start catching up, there are way too many free services to host your repos offsite especially for this kind of situations

    ReplyDelete
  5. I'm i just i don't know how i forget to upload them for damn 10 days :'(

    ReplyDelete
  6. There are advanced hard drive recovery services... cost at least a few hundred bucks, but may be worth the effort. But you should quit using the drive if you want to have a better chance at recovery

    ReplyDelete
  7. I use WD MyCloud - seems to work

    ReplyDelete
  8. Not committing for 10 days is a big sign that you are doing versioning wrong.

    ReplyDelete
  9. try testdisk, it's a partition recovery tool. then try recuva. both free.

    ReplyDelete
  10. Sri, I feel your pain! I use Dropbox, both for its cloud storage capability as well as its versioning capability.

    ReplyDelete
  11. Neal Campbell  please try https://bitbucket.org
    BitBucket gives you unlimited free git repositories.

    ReplyDelete
  12. Since the whole partition is gone, I can recommend getting a full-disk backup program. With an incremental backup scheme you can have several months worth of daily backups in a reasonable amount of space.

    Personally I have a separate disk in my pc which stores the backups, though if you don't have too much data, there are some cloud based options that may work.

    For historical reason I use Acronis, but I've heard good things about Paragon, which has a free edition you can try out https://www.paragon-software.com/home/br-free/

    ReplyDelete
  13. Ten days without a commit!!!! It's crazy!!!

    ReplyDelete
  14. Hamza Benzaoui You could try http://www.diskinternals.com/ Ntfs Recovery 5.7 Uneraser 6.6 Partition Recovery 5.7

    ReplyDelete
  15. Hamza Benzaoui BTW - it might just be that the files have been corrupted in the course of restoring.

    ReplyDelete
  16. In fact, if you just erased the partition using standard tools (not overwriting HDD sectors to prevent data recovery) your data is intact there and most of the times it is easy to recover it.
    First, stop using the drive. Disconnect the HDD from your computer. Then get another computer and install one good data recovery software on it.
    There are several options, some are even free. I've used in the past: EaseUS Partition Recovery, GetDataBack and Recover My Files. IIRC, they all work as expected. They all have an "analysis only" phase which is non destructive, i.e. it will search for deleted partitions on your HDD but won't change a bit, meaning that even when they don't work, they won't kill the possibility of another software try later. They all are able to recover the partition "in place" or read the partition from your old HDD and save the data to a new HDD.

    ReplyDelete
  17. "push/commit your work at least once a day to a remote repository.."

    What about at least once an hour?

    ReplyDelete
  18. Dear helpers.
    I have seen very often that some one asked our help
    and many of you give kind of help he dose not need.
    "Do not put the person to the torch"

    try
    http://tokiwa.qee.jp/EN/dr.html
    Recuva
    http://www.cgsecurity.org/

    ReplyDelete
  19. shlomo abuisak  The advice given here is critically important. What is the point of making mistakes if not to learn from them?

    ReplyDelete
  20. David Heffernan He needs help NOT TEACHING.
    I guess he feels bad enough no need to make it worse.

    ReplyDelete
  21. Thanks to the guys for your suggestions i will try to use recover from other PC..
    And to those who saying " i should be commit...!" it's 11 months project if i wasn't doing that the whole project will be gone now !! and after all that pain you think i will let that happen again !? so please it's better to give useful suggestion not what i shall be do , cuz the damage happened already . Thank you for understanding :)

    ReplyDelete
  22. shlomo abuisak So in your view it is more important not to risk upsetting somebody's feelings than pointing out ways to improve practises? I disagree.

    ReplyDelete
  23. David Heffernan See Hamza Benzabuthoui
    response.
    Some answer did irritate him.
    " so please it's better to give useful suggestion not what i shall be do "

    ReplyDelete
  24. shlomo abuisak If somebody takes offence when given sage advice, I tend to think that the fault lies with the recipient of the advice.

    Clearly we disagree.

    ReplyDelete
  25. I use a nightly backup using Ahsay Online Backup. It's really cool because it only transmits deltas and it offers a history function allowing you to see the file(system) the way it was x days ago. Handy for when you've overwritten a file.

    Come to think of it this comes close to what a VCS does, except that it sort of 'autocommits' nightly.

    It's a really nice thing to have and allows me to revert any file back to the state it was in up to 2 years ago.

    Obviously there are other tools that offer this functionality. Just make sure you use an online tool. No good having a backup onsite if your HDD burns out.

    I still use Git for projects, but that's because it eases project management.

    ReplyDelete
  26. What you're looking for right now IMO is a 'rescue disk'. download the iso image using a separate computer and burn to CD, then boot your 'deleted' PC from CD.
    Have you looked at the 'history' folder with the '*.~*' files?

    ReplyDelete
  27. Johan Bontes  yes i did the problem is that some of the recovered (.pas) files are corrupted and every tool gave me the same results i tried also from other PC but the same thing ,. so i suppose it's gone :( and i already started rewriting

    ReplyDelete
  28. But what about the .~ files in the hidden _history and _recovery directories?

    ReplyDelete
  29. Attila Kovacs i did not know this software GetDataBack but from the icon ! i had the Delphi source from many years ago. I wander which version i have. I guess one of the first one

    ReplyDelete
  30. It has been a few years since I lost code, but I remember the pain. If formatting or repartitioning, the most important thing is to stop writing to the disk, to reduce the chance of corruption, and put it in a second computer for recovery.

    As for the "teaching opportunity" - fuck that. How would you feel if you just damaged your car by accident, and your insurance company, car towing service, and service garage would be using the opportunity to lecture you on safety, best practices and telling you how reckless you are, instead of helping?

    There is a time and place... Chose wisely.

    ReplyDelete
  31. Clearly Lars Fosdal  you have a totally different idea of what helping means to many of us.

    ReplyDelete
  32. Really? When is disaster recovery a learning opportunity? AFTER the recovery. You don't tell a drowning man that he should have learned to swim.

    ReplyDelete
  33. There only is this thread. We wait for a month, and then offer the advice? That's what you suggest?

    We are all grown ups here.

    ReplyDelete

Post a Comment