By default, the Job Ticketing Ticketing database is located in the following location: <install-path>/job-ticketing/data/derby
You can, however, change this location. To change the storage location:
- Stop the Job Ticketing service.
- Copy the
<install path>/job-ticketing/data/derby
folder to the new location. - Open the following file in a text editor:
<install-path>/job-ticketing/config/application.properties
- Locate the following line in the file:
database-location=<database location>
- Change
<database location>
to your required location. This can be:- a relative path from the
<install path>/job-ticketing/
folder. For example,database-location=data/database
- an absolute path. For example,
database-location=c:/data/job-ticketing/database
- a relative path from the
- Save the file.
- Restart the Job Ticketing service.
- Test that everything works,
- Then, delete the original
<install-path>/job-ticketing/data/derby
folder.
Comments