Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes Backup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Backup" Watch "Backup" New topic
Author

Backup

Shashika Thiran
Greenhorn

Joined: Jan 22, 2009
Posts: 24
I want to get mysql data Backup using java swing.
I try to do it using mysqldump but it,s not work for me.
any idea



Runtime rt = Runtime.getRuntime();
rt.exec("c:\\Program files\\MySQL\\MySQL Server 5.1\\bin\\mysqldump -u=user -p=pass database >C:/backup.sql");

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Can you please elaborate on "it is not working"?
Remember, it always helps to tell the details

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Backup