title | summary | reviewed |
---|---|---|
RavenDB Embedded Location |
Increase space for monitored data by configuring ServiceControl to save data in a location other than the default |
2024-12-02 |
Each ServiceControl instance deployed using PowerShell or the ServiceControl Management Utility stores its data in a RavenDB embedded database server. The location of the data is set at install time.
To see the current database location, open ServiceControl Management and view the location listed in the instance details.
ServiceControl Management does not provide a means of moving the ServiceControl database. To move the database to a different disk location, follow this process:
- Open ServiceControl Management
- Stop the service
- The current database path is listed in the utility. Copy the contents of this directory to the new location
- The new database location should not be a subfolder of one of the existing locations (e.g. Installation path, Log Path, etc)
- Ensure that the service account used for ServiceControl has read/write access to the new location.
- Manually edit the configuration and specify the new location by changing or adding the
ServiceControl\DBPath
setting. See Configuration Settings - Restart the ServiceControl service
- Remove the old database directory and contents
This will generate a new instance of the RavenDB embedded instance in the specified path.