title | summary | reviewed |
---|---|---|
ServiceControl Move Database to Another Location |
Move Database to Another Location |
2023-07-03 |
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:\ProgramData\Particular\ServiceControl\Particular.ServiceControl
toF:\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*.exe.config
in the elevated text editor - Modify the values for keys
*/DBPath
and*/LogPath
to match the new location - 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