The Samples Server is provided with three databases:
-
resdb contains the Rule Execution Server sample database
-
rtsdb contains the Rule Team Server sample database
-
rtsdb-serverextendedbrm contains the Rule Team Server sample database for the serverextendedbrm sample (which needs a specific database schema).
To restore one of these databases to its original state (as when you first installed JRules):
-
If the JBoss server is running, stop it.
-
Go to the directory:
<JRules Home>/shared/tools/jboss/server/jrulessamples/data/derby.
-
Delete the directory containing the database you want to restore:
- rtsdb-serverextendedbrm
-
Unzip the corresponding backup zip file (
resdb-backup.zip, rtsdb-backup.zip or rtsdb-serverextendedbrm-backup.zip) to this same location.
-
Restart the JBoss server.
Related Tasks
Related Reference