Moving an instance from Server A to Server B
Get the configuration from the source server
The following command gets the configuration of the instance called “MyInstanceName” from the local dbWatch Server and puts it in the file instance.xml
dbw get -url localhost:7099 -login myusername -password mypassword -i 'MyInstanceName' > instance.xml
Register the instance on the target server
The following command registers the instance on the dbWatch server located on the host target.dbwatch.com
dbw register -url target.dbwatch.com:7099 -login myusername -password mypassword -configfile instance.xml
Verify
Verify that the instance is copied correctly before performing the next step
Delete the instance from the source
The following command deletes the instance from the local dbWatch Server
dbw delete -url localhost:7099 -login myusername -password mypassword -instance 'MyInstanceName'
← Command line configuration / DBWQL – dbWatch Query Language →
Post your comment on this topic.