Portal Home > Knowledgebase > Articles Database > Hacking Attack _ I wana Restore
Hacking Attack _ I wana Restore
Posted by ALEXEI_M, 08-25-2010, 06:40 AM |
Hello
I'm in a big trouble. Today morning I got a hacking attack. Now I wana restore my Website. I have weekly backups.
I just want to know how to restore from my weekly backup drive .
My OS is CentOS
This is the path for backup drive. root@ds [/backup/cpbackup/weekly]
Please let me know how to restore ...
|
Posted by Syslint, 08-25-2010, 06:51 AM |
Do you need to restore only mysql db or the whole account ?
|
Posted by ALEXEI_M, 08-25-2010, 06:55 AM |
Whole website.... My website deleted by hacker.
|
Posted by Syslint, 08-25-2010, 07:03 AM |
There is two way to restore it ,
You can restore it from WHM -> Backup -> restore a full backup or
got to /backup/cpbackup/weekly do the following
# cd /backup/cpbackup/weekly
# tar -czf cpaneluser.tar.gz cpaneluser/
# mv cpaneluser.tar.gz /home
# /script/restorepkg cpaneluser
This will restore your domains.
|
Posted by ALEXEI_M, 08-25-2010, 07:16 AM |
I can not restore from weekly from WHM...
Now I have the original backup abc.tar.gz Now I wana copy abc.tar.gz to daily directory .
Can I know the SSH command to move my abc.tar.gz to daily directory. ?
|
Posted by lynxus, 08-25-2010, 07:32 AM |
mv path/to/abc.tar.gz /path/to/daily/.
OR: to keep the orginal..
use cp instead of mv.
|
Posted by aroel, 08-25-2010, 07:36 AM |
No offense, on your profile you say that u're a level 3 admin, but now u're asking for shell commands? geez
|
Add to Favourites Print this Article
Also Read