jaysondotph Posted April 30, 2013 Share Posted April 30, 2013 (edited) lastweek, our website was hacked by someone. and he/she deleted one of page from the cms pages. all content and information was deleted. and my question is, i have a full back-up of the website but how do i find the csm content where so i can restore the file deleted by hacker. please help. Edited April 30, 2013 by jaysondotph (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 30, 2013 Share Posted April 30, 2013 The CMS content is in the database not in the Prestashop files. If you have a backup of the database you will find it there if not check with your provider and see if they have a backup. In my database there is a tab for backups and you can download a backup from there. Link to comment Share on other sites More sharing options...
jaysondotph Posted April 30, 2013 Author Share Posted April 30, 2013 ah okay.. i try it to look up in the DB.. thanks a lot for your informative reply Link to comment Share on other sites More sharing options...
jaysondotph Posted April 30, 2013 Author Share Posted April 30, 2013 okay, i found the file. but it is verry crowded, is there other easy way to retrieve it? Link to comment Share on other sites More sharing options...
tdr170 Posted April 30, 2013 Share Posted April 30, 2013 (edited) You will need to look through the file and find the following sections. Table structure for table `pr_cms` Table structure for table `pr_cms_block` Table structure for table `pr_cms_block_lang` Table structure for table `pr_cms_block_page` Table structure for table `pr_cms_category` Table structure for table `pr_cms_category_lang` Table structure for table `pr_cms_lang` These are all the tables that contain CMS information related to your site, you will need to copy all the sections and then do an SQL query and paste the code in the text area and run the query. I use Notepad++ for this type of file and it is available for free. If you are totally unsure post the file here and I will pull the tables you need to run the query on for you. Edited April 30, 2013 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now