Hi everyone, I created a solution myself. Please take a look and get if you think it will be useful.
This is in reply to this from Prarthana balaji.
prathana balaji wrote:Hi all,
Please someone help me --How to take backup automatically from the database(MYSQL) after certains number of records from java GUI.
When the record count exceeds certain count then the records should move from the table to backup.
Regards,
Prathana
It is not a complex solution, I used some SHOW CREATE and SELECT commands and parsed the strings.
I Tried to make it look alike to a backup you take from Navicat software.
Here is the code.
Full usable 8.java file can be found here.
http://isuru.diyatha.com/java-db-dump/