I have a Joomla website and I recently discovered that there are a number of malicious files on different directories. I have a backup and want to setup a new Joomla site and use the previous website data from the backup database.
I checked the database and found that the content
and category
tables use the assets
table. But do not know if there are other related tables or so. I checked the assets table and could not understand the use of lft
and rgt
columns.
I want to write a PHP script to copy content data from the old backup and write to a new Joomla site.
I am not that familiar with the Joomla db structure. If anyone can guide me to understand the table relations or refer me to a doc that would be a great help.