I have a site in php on shared hosting server with mysql database, which lists the records of products with associates for each record about thirty images (saved in a server folder)
Each record has a field to determine if it is visible in the front end.
Since the site administrator never erases obsolete records, now we have a complicated situation to say the least.
The site views from time to time about thirty visible records, but the database contains a list of records of more than six years, with over 200,000 images, (with the provider complaining about this situation)
I have asked several times to eliminate obsolete Recors, but in vain
At this point the ideal would be to be able to archive a backup with the data of the last five years (eliminating the previous ones) on an subdomain or on local PC, and keep only visible records in the database.
In this case, periodically the system should update the backup
I hope I have exposed my problem clearly enough
Any suggestions?