How to update shard databases without starting

al5yal511

Administrator
Staff member
Admin
Guide Author
Some time you need to safe your time and to check that shard can update databases without starting.

The following example shows how to update server databases:

  • First go to the deploy server and change your the directory location on the /server_bin/shard/cfg/db/ folder.
  • Make sure that java application is installed. You also may use the delivery java by the following path /vendors/Java/jdk-linux-amd64/bin/
  • Here how to run the command to update the shard databases: java -jar ../../jars/persistentTools.UpdateDatabaseTool.jar ../../shard.xml, where the shard.xml file is the shard config.
 

Top Bottom