webmaster1 Posted April 21, 2010 Share Posted April 21, 2010 I deleted an ftp account and it's associated files. I didn't realize that it was associated with my root directory which is now empty. Can anyone suggest a way of restoring the deleted files? I've tried the trash in the legacy file manager but it's empty. Quote Link to comment https://forums.phpfreaks.com/topic/199201-how-do-i-recover-deleted-account-and-associated-fiels-in-cpanel/ Share on other sites More sharing options...
trq Posted April 21, 2010 Share Posted April 21, 2010 I very much doubt there would be any method of recovery if you had no backup procedure in place. Quote Link to comment https://forums.phpfreaks.com/topic/199201-how-do-i-recover-deleted-account-and-associated-fiels-in-cpanel/#findComment-1045497 Share on other sites More sharing options...
webmaster1 Posted April 21, 2010 Author Share Posted April 21, 2010 Would the web hosting company be able to restore anything? This was suggested in another forum: We have the cpanel hook script /scripts/prekillacct created, which does a backup of the account just before deleting it. That way, if you delete an account accidentally, you still have a copy of the account which you can restore. Is this just a custom script he's referring to? Quote Link to comment https://forums.phpfreaks.com/topic/199201-how-do-i-recover-deleted-account-and-associated-fiels-in-cpanel/#findComment-1045501 Share on other sites More sharing options...
trq Posted April 21, 2010 Share Posted April 21, 2010 That is indeed a custom script. Would the web hosting company be able to restore anything? Why don't you ask them? Quote Link to comment https://forums.phpfreaks.com/topic/199201-how-do-i-recover-deleted-account-and-associated-fiels-in-cpanel/#findComment-1045504 Share on other sites More sharing options...
webmaster1 Posted April 21, 2010 Author Share Posted April 21, 2010 Why don't you ask them? It's 1:18 AM in Ireland right now. Quote Link to comment https://forums.phpfreaks.com/topic/199201-how-do-i-recover-deleted-account-and-associated-fiels-in-cpanel/#findComment-1045510 Share on other sites More sharing options...
webmaster1 Posted April 21, 2010 Author Share Posted April 21, 2010 Good news folks. cPanel can restore files using the R1 restore option whether or not you've automated any prior form of back-up. I'm currently restoring mine to 10:30 yesterday evening. Quote Link to comment https://forums.phpfreaks.com/topic/199201-how-do-i-recover-deleted-account-and-associated-fiels-in-cpanel/#findComment-1045661 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.