The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

oops?! how do I UNDELETE?

Discussion in 'General Discussion' started by SupermanInNY, Jun 22, 2005.

  1. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16
    I accidently issued:


    rm -Rf test/

    How do I Undelete it??
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    You can't. There is no undelete feature in unix. Unless you have a backup to restore from you are out of luck.
     
  3. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16
    Whats that word that I'm looking for.... Ah... I know: F....

    But, wait!
    When I search google, I find this:

    http://recover.sourceforge.net/linux/

    What's your best guess on this?

    -Alon.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Best of luck :) If it is going to work, you're going to have to act quickly and preferrably stop all processes on the server apart from SSH before the data on disk is overwritten. My best guess would be that it is gone for good, but you never know.
     
  5. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Although you might be able to recover files in Linux, the data in the deleted files might not be intact or very likely to get corrupted in the recovery process. Good luck!
     
  6. gpreston

    gpreston Well-Known Member

    Joined:
    Jan 31, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    West Chester, PA
    Not really an easy way to do that with *NIX. Either recover it from a backup or try some *NIX based file recovery tool. I don't really have any experience with file recovery though since I'm fortunate enough not to have ever done something like that.
     
  7. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16

    This is actually in a separate drive, and it has no activity on it. So, I'm "safe" in that regards. If all else fails... this is a 4 days of work gone bye bye. That's the worst case scenario,. I just hope not to reach.

    Thanks for the feedback.

    -Alon.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Let us know if you're able to recover the data.
     

Share This Page