Jump to content

how to find cms content in backup file?


Recommended Posts

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 by jaysondotph (see edit history)
Link to comment
Share on other sites

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

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 by tdr170 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...