File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
DB Backup - MySql
Joined: Jun 29, 2007
Jul 03, 2007 14:11:00
How can I create DB Backup to a dump file or zip file from
I can only create "sql" files. while the file i need is "zip" or "dump".
Is there any way doing that???
Joined: Apr 30, 2003
Jul 03, 2007 14:49:00
Simplest way would be turn it into a two part process:
Take the .sql file you have produced and run it through a zip file creation process.
here is instructions to get you started with zip file creation:
Creating a ZIP file
I agree. Here's the link:
subject: DB Backup - MySql
Incremental filename script
Using ant script for creating DB dump and restoring
Back Up & Restore Database
Embedding MySQL Database in Java Application
Backing up database through java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015