A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Swing / AWT / SWT
how to get automatic backup from mysql?
Joined: Sep 29, 2010
Mar 21, 2011 01:14:22
I am developing an application using Swing. In this application, i need to get database backup from database automatically when we close application. how does i do this?please
Joined: Oct 13, 2005
Mar 21, 2011 04:56:07
I can think of two ways to achieve what you want. There are probably more.
1: Add a shut down hook to your runtime.
2: Add a
to your outermost (parent) frame.
Both those objects should call code to update the database.
I agree. Here's the link:
subject: how to get automatic backup from mysql?
Backing up database through java
Export data from database
Need External Back Up in Java Web Application
Having a web application in my cmpnys domain but its backup size is increasing impacting the perform
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014