Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2008

    Arrow how to restore destroyed files

    by mistake i have deleted following files how can i restore them. as it was

    public_html/themes/index.php: destroying......done
    public_html/themes/admin/index.php: destroying......done
    public_html/themes/lib/phpthumb/index.php: destroying......done
    public_html/themes/lib/phpthumb/cache/index.php: destroying......done
    public_html/themes/lib/phpthumb/cache/source/index.php: destroying......done
    public_html/themes/lib/exifer1_4/index.php: destroying......done
    public_html/photogallery/docs/index_fr.htm: destroying......done

  2. #2
    Join Date
    Aug 2009
    Orlando, FL
    There is no "undelete" in Linux. If you deleted that stuff, your only option is to restore it from a backup.

  3. #3
    Join Date
    Aug 2008


    can you guide me how to restore from backup

  4. #4
    Join Date
    Apr 2003
    Los Angeles, CA
    Quote Originally Posted by nileshparmar1 View Post
    can you guide me how to restore from backup
    Huh, that sounds like you do not have a backup, otherwise I'd imagine you knew where it is, how to get to it and how to get the files you need.
    Pings <1 ms, Unlimited Transfer, Lowest Price: http://localhost/

  5. #5
    Join Date
    Aug 2008


    we do have daily/weekly/monthly backup but i don't know how restore those files

  6. #6
    lol not knowing how to restore backups is as useful as not having backups at all

    you need to go into the backups and copy the required files back to your home directory, or if they're compressed you need to extract the archive then copy the required files back

    or ask your host to do this, might be the best option
    Accelerated Hosting - From Constant Internet
    Automatically serving your website from the nearest server
    Get hosted on our global network! America / Europe / Asia

  7. #7
    Join Date
    Jun 2009
    Hi Nilesh,

    Inorder to restore the files, you can do it as follows

    cd to /backup/cpbackup/weekly/user/homedir/public_html and copy the contents of /backup/cpbackup/weekly/user/homedir/public_html/themes to your /home/user/publich_html directory.
    Ezeelogin -
    The ultimate multiple server administration software.
    *Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage* -Delivering innovative web hosting solutions

  8. #8
    You can ssh into your server, navigate to /backup/cpbackup/

    Depending on how you have it setup you can go into the daily/username/homedir/public_html subdirectory and retrieve the files from the backup that ran the previous night.

    If the file was deleted/changed before the last daily backup you will have to retrieve it from /backup/cpbackup/weekly/username/homedir
    /public_html which could be up to six days old.

    You can then cp it into your clients /home/username/public_html directory.
    Don't forgot to chmod/chown the file.
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

Similar Threads

  1. Want to tarball my website files and restore with WHM - Please help...
    By mharrisr in forum Hosting Security and Technology
    Replies: 15
    Last Post: 06-21-2009, 04:34 PM
  2. How to restore mysql databases from /var/lib/mysql/user_database/ files only?
    By bjdea1 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 02-11-2008, 05:44 AM
  3. please help : need to restore my old files
    By X-x-X in forum Hosting Security and Technology
    Replies: 8
    Last Post: 06-27-2007, 06:28 PM
  4. Restore to MYI files
    By netcommander in forum Hosting Security and Technology
    Replies: 5
    Last Post: 02-01-2006, 02:36 PM
  5. strange files after restore...
    By aisusa in forum Hosting Security and Technology
    Replies: 1
    Last Post: 11-16-2004, 04:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts