Are there any good class libraries for Java backup databases (different databases / exports to different formats)? (o (*) o)

for example, the function of backing up the database is encountered in the project, but the database itself is not installed on the machine where the project is running. Is there any good class library you can recommend? (^ ^)

attachment: it is not feasible to call the mysqldump command with Java.
Mar.10,2021

  • if you can use a tool, take a look at dbeaver . This tool can make backups directly through jdbc and generate sql
  • .
  • if you need to write it yourself, you can take a look at this code http://isocra.com/articles/db., which is relatively crude
  • .
  • if the database is large enough, mysqldump is the most reliable.
Menu