#### Realm DB panel

The panel is displayed when you click Data on the system toolbar of the JReport Administration page and then select Realm DB from the drop-down menu. It allows you to manage server data, such as configuring your realm database, backing up server data, archiving/restoring server data, viewing backup and archive files' summary information, and clearing invalid resource nodes.

The following are tabs contained in the panel:

- Configuration tab
- Backup tab
- Archive tab
- Summary tab
- Realm DB Check tab

Select Realm

Before you can manage the realm database, you need to first select a realm from the drop-down list.

##### Configuration tab

This tab allows you to configure your realm database to store server data. See the tab.

Driver Class Location

Specifies the path of the JDBC driver. It can be null, which means that JReport Server will load the driver from the VM's class path. Click the Browse button to specify the location for the driver class.

Driver

Specifies the name of the JDBC driver.

URL

Specifies a valid URL that can be used to establish a connection to your database. For the valid format of the URL, refer to the handbook of the specific driver.

User

Specifies the JDBC user name for connecting to the database.

Password

Specifies the user password.

Test

Tests whether the JDBC configuration works.

Update

Updates the JDBC configuration and saves it to disk.

Cancel

Cancels the settings.

##### Backup tab

This tab allows you to back up your system's database for archiving. See the tab.

Backup Realm DB

Backups JReport Server's realm database to an archive. Click the Browse button to specify a file path to store the backup archive.

With External Data

If it is checked, the external data bound with the database will also be archived. Otherwise, only the database will be archived.

Backup

Begins the backup process.

##### Archive tab

This tab allows you to archive the result version data in an archive file. See the tab.

Archive Result Version Data

- Data Scope
  Displays the result version data range.
- Records Count
  Displays the number of sets of result version data in the database.
- Move to Archive Data Before
  Specifies the range of data that you want to archive. The range is defined using date, for example, you can archive data before a certain date. Click the Browse button to specify the file path for storing the archived data.
- Archive
  Begins the archiving process.

Restore Result Version Data

After data has been saved to an archive file, you then have the option to restore it.

- Restore from Archive
  Specifies the archive file that contains the archived result version data. Click the Browse button to specify the archive file.
- Restore
  Begins the restoring process.

##### Summary tab

This tab allows you to view the archive files' summary information. See the tab.

Archive

Specifies the name of the archive from which you want to retrieve summary information. Click the Browse button to specify the archive.

Summary

Begins the summary process and returns summary information about the specified archive.

##### Realm DB Check tab

This tab allows you to clear invalid resource nodes from JReport Server. See the tab.

Check

Checks whether there are any resource nodes that have lost external data. If any corresponding files (the resource's external data) have been manually deleted, the resource nodes will become invalid. Invalid nodes should be cleared from JReport Server.

Invalid Dynamic Nodes

Displays all invalid resource nodes in the database.

Delete

Deletes the specified invalid resource nodes.

Cancel

Cancels the operation.

###### Related topics:

- Managing server data