0

I have been searching for hours on how to backup the schema for my database through Netbeans 8.2 I just want to backup my work in the event of computer failure. I tried using command line but no resource is up to date yet on how to properly backup for windows 10 and Netbeans 8.2. Any solution would be greatly appreciated.

  • 1
    Any error prompted? what is it? – Vijunav Vastivch Feb 07 '17 at 06:00
  • You can use MySQL browsers like [MySQL Workbench](https://www.mysql.com/products/workbench/) or [SQLyog Enterprise](https://www.webyog.com/) to take database backup or to restore db. Why are you wandering with Netbens to take backup of db? And for the command line check [this](http://stackoverflow.com/a/13484728/5180017) StackOverflow thread. – Shashanth Feb 07 '17 at 14:25

1 Answers1

1

NetBeans does not offer this feature. You can only grab and recreate the structure of single tables (Under Services / Databases / [your database] / right click on any table). But this does not include any containing data. Shashanth mentioned already some alternatives where I would like to add HeidiSQL which does an awesome job.

If you want to implement this as a feature in your own application you probably want to call mysqldump from your program (see this question in addition to the thread provided by Shashanth)

Community
  • 1
  • 1
Joachim Rohde
  • 5,915
  • 2
  • 29
  • 46
  • I found the folder where it hard saved them and just copied them to a flash drive. Thank you all for the support though. –  Feb 27 '17 at 23:14