I have a database backup with 400+ sql files. foreach table there is a separate sql file. Is it possible to import all this files together to a database? If so could you tell me how to do this?
Also the backup is a gzipped tar file. Is there a way to restore from a compressed file.?
Do you still have access to the database holding these records? If so you can download MySQL Workbench and export the database as a single file, which you can then either import or execute as a script?
Then use some tool rename file to sql1 to sql400.sql
Write a loop on PHP or Perl to run that command import or just simple:
open notepad, type the command:
command sql1.sql
command sql2.sql
command sql3.sql
then copy and paste it on your SSH , enter, they will run line by line for you automatic.