Move the database to another disk if the disk that isn't following the ServiceControl storage recommendations.
To move the database to another location:
- Open the ServiceControl Management utility (SCMU) (via Windows Start)
- Stop the ServiceControl instance
- Open Windows services
- Note the Windows service startup type (Automatic or Manual)
- Set the Windows service startup type to Disabled to ensure the instance cannot be accidentally started
- Open the DB or Log path via SCMU and move on level up (i.e.
C:\
)ProgramData\ Particular\ ServiceControl\ Particular. ServiceControl - Copy the full storage path to a new disk (i.e.
C:\
toProgramData\ Particular\ ServiceControl\ Particular. ServiceControl F:\
Particular. ServiceControl - Open the Installation Path in Windows Explorer by selecting the installation path browse button
- Open an elevated text editor (Run as Administrator)
- Open the file matching
ServiceControl*.
in the elevated text editorexe. config - Modify the values for keys
*/
andDBPath */
to match the new locationLogPath - Save the config file in an elevated text editor (if this fails, the editor was not launched to Run as Administrator)
- Restore the Windows service startup type to its previous state (Automatic or Manual)
- Start the ServiceControl instance
- Delete the obsolete files from the previous storage location