Samples > Samples Server and Console > Samples Server > Restoring the Sample Databases

The Samples Server is provided with three databases:

To restore one of these databases to its original state (as when you first installed JRules):

  1. If the JBoss server is running, stop it.
  2. Go to the directory: <JRules Home>/shared/tools/jboss/server/jrulessamples/data/derby.
  3. Delete the directory containing the database you want to restore:
  4. - resdb
    - rtsdb
    - rtsdb-serverextendedbrm
  5. Unzip the corresponding backup zip file (resdb-backup.zip, rtsdb-backup.zip or rtsdb-serverextendedbrm-backup.zip) to this same location.
  6. Restart the JBoss server.

Related Tasks

Starting and Stopping the Samples Console
Stopping and Restarting the Samples Server from the Samples Console
Starting and Stopping the Samples Server Without the Samples Console

Related Reference

What is the Samples Console