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 →

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment