You can change the database location of a master or replica database by completing the following steps:
1 Shut down the server to release the operating system file locks on the database file and log files.
2 Copy the database and log files to the target directory.
3 Copy the solid.ini file to the target directory.
4 Check that the database file directory, log file directory, and backup directory are correctly defined in the solid.ini configuration file.
5 If the database you moved is the master database, execute the SET SYNC CONNECT statement on all the replica databases, see SET SYNC CONNECT.
This statement must be executed in all replica databases (before the next message is sent to the master database) to ensure that the replica databases can connect to the master database.
6 Start solidDB in the new location by using the target directory as the current working directory with the command line option -c directory_name.
7 If the database you moved is a replica database, check that you are able to access the master database with the connection string in MESSAGE FORWARD or MESSAGE APPEND REGISTER REPLICA statements.