This section explains how to delete instances using server commands.
Use the following procedure to delete instances.
Stop the instance
Stop the instance in Windows services, or use the pg_ctl command stop mode.
Use the following procedure to stop a service in Windows services:
Display the [Services] window.
In Windows, select [Administrative Tools], and then click [Services].
Stop the service
Select the instance name that you wish to stop from the services list, and click [Stop Service]. If you stop a service while applications and commands are running, Symfoware Server will force those applications and commands to close and will stop normally.
You can also stop a service by specifying the service name in the net stop command or sc stop command.
Back up files
Before deleting the instance, you should back up all necessary files contained in the data storage destination, backup data storage destination, and transaction log storage destination.
Delete the instance
Use a command such as rmdir to delete the following directories:
Data storage destination directory
Backup data storage destination directory
Transaction log storage destination directory (if a different directory to the data storage destination directory was specified)