Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    257

    Default oops?! how do I UNDELETE?

    I accidently issued:


    rm -Rf test/

    How do I Undelete it??

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    You can't. There is no undelete feature in unix. Unless you have a backup to restore from you are out of luck.
    Regards,
    David
    Forum Moderator

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    257

    Default

    Quote Originally Posted by dgbaker
    You can't. There is no undelete feature in unix. Unless you have a backup to restore from you are out of luck.
    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. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    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!
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  6. #6
    Member
    Join Date
    Jan 2004
    Location
    West Chester, PA
    Posts
    64

    Default

    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. #7
    Member
    Join Date
    Jul 2003
    Posts
    257

    Default

    Quote Originally Posted by chirpy
    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.

    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. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Let us know if you're able to recover the data.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. oops Terminated !! please help
    By dmort59 in forum Data Protection
    Replies: 6
    Last Post: 02-08-2008, 09:09 PM
  2. Quotas... oops
    By slice16 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-11-2005, 05:56 PM
  3. kernel oops?
    By Sheldon in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2004, 06:11 AM
  4. Kernal OOPS
    By elleryjh in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-22-2003, 07:45 AM
  5. HOW DO I UNDELETE?
    By tlove in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-19-2002, 05:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube