Datasets are placed by LeasePak in either each build directory (see
Directory Trees) under
dsets, or in the
$TOPDIR/datasets directory. The datasets in
dsets are restricted to only the
level7 and
seed datasets, which are the "official" datasets of LeasePak. They are read-only.
Datasets created at Netsol customer sites are stored in $datasets. It is possible to snapshot to and restore from datasets stored elsewhere on the
application host's filesystem, by using the full pathname (starting with '/') as the dataset parameters of
db_snapshot and
db_restore.
About the level7 and seed datasets
Level7 is a dataset that was the product of a long series of
regression test suites. Starting from an "empty" LeasePak database, these tests input customers and applications and vendors and assets and leases, and ran the essential
EOP updates, and these became the data in the level7 dataset. It's value to NetSol, and thus to our clients, is that it represents a common starting point for teaching and for trouble-shooting. It is often possible to demonstrate a bug that occurs in production environments on the level7 data. This makes it far easier to troubleshoot in the absence of a client's multi-gigabyte database.
Seed is the "empty" LeasePak database. It contains only one portfolio, the LeasePak codes table, the message table, and a few other essential tables to set up a new instance of LeasePak, with no individual data. It is the "empty" database from which the level7 dataset was grown, and from which every new instance of LeasePak is grown.