Backing up Apache Derby databases

You can take a backup of Apache Derby databases by using the method provided here.

Another matter that needs to be given some thought is backup of the data contained in a Derby database. The recommended (and simplest) way of doing this is to
  • Shut down the Derby database (if running in embedded mode, shut down all IBM Security Directory Integrator instances and Configuration Editor instances)
  • Copy the entire Derby directory in your IBM Security Directory Integrator home directory (or whatever Derby directory your global.properties file is pointing to) to a different location, and ensure that this data is safe
  • Restart the Derby database (if running in networked mode).

To restore a database, reverse source and destination of the copy operation in the above list of steps.