This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Here are some examples of using check-in client.

Note

Here the Check-in Client is running in windows. If you are on Linux, you have to use checkin-client.sh instead. See Running Check-in Client.

Note

For the username and the password, the default values "admin" "admin" are used. Please, replace them with your username and password when you are trying these commands.

Sample Scenario

Command to run

Checking out a root collection from a remote registry running on https://localhost:9443 to the current working directory.

checkin-client.bat co https://localhost:9443/registry/ -u admin -p admin_pw

Checking in a collection from the current working directory back to the registry which it check out (This command is independent of whether it is checked out from a local registry or a remote registry. It will anyway commit it back to where it is checked out from).

checkin-client.bat ci / -u admin -p admin_pw

Dump a remote registry "/path" collection to a file.

Note

Notice the additional -f option

checkin-client.bat co https://localhost:9443/registry/path -u admin -p admin_pw -f remote.dump

Restore a dump file to a remote registry "/path" collection.

Note

Provide the URL with the ci command. See The Check-in Client Commands.

checkin-client.bat ci https://localhost:9443/registry/path -u admin -p admin_pw -f remote.dump

Copy entire tree from "/path1" to "/path2" using the check-in client.

Tip

This can be done through the copy command alternatively. See The Check-in Client Commands.

  • checkin-client.bat co /path1 -u admin -p admin_pw -f temp.dump
  • checkin-client.bat ci /path2 -u admin -p admin_pw -f temp.dump

Copy the entire tree from Governance Registry 1 (runs on 9443 port) to Governance Registry 2 (runs on 9444 port) using check-in client dump to file system.

Copy entire collection from Governance Registry 1 (runs on 9443 port) to Governance Registry 2 (runs on 9444 port) using the check-in client.

Tip

This method cannot be used to restore the root of the registry. To restore the root, use the check-in client dump to file system method.

  • No labels