The following parameters are supported.
Parameter |
Description |
---|---|
-a |
Operation to be executed. Can be one of the values [create|backup|restore|delete]. |
-app |
Application type. If this parameter is specified, the URL parameter is ignored and the url is loaded from zookeeper. You can specify the app with a single value. Valid values are: UMC, ADS, ABS, OCT, COP, DAHSBOARDING, ECP Example tm -a backup -app UMC -t default -u system -p manager -f <path to backup file> |
-f |
Path to the backup file. |
-infra |
Name of infrastructure tenant for the create or delete operation. If this is not specified, the value master is used |
-p |
The password of user that executes this operation. |
-s |
URL to the loadbalancer endpoint. Only for an external REST API. The parameters umc and url are not allowed in this case. |
-t |
Tenant name. |
-tkn |
Token of the user from the backed up or restored tenant. For the create and delete operation, this is the token of the user from the master tenant. |
-u |
Name of user from backed up or restored tenant. For the create and delete operation, this is the user of the master tenant. |
-umc |
UMC rest endpoint URL. Zookeeper provides this information if this parameter is not specified. |
-url |
Application internal rest endpoint URL. This parameter is ignored if the app parameter is specified. |
Executing tm.bat or tm.sh
Call tm.bat from cmd.exe, respectively tm.sh from the Unix shell.
Procedure
Call
tm.bat from <installation directory>\server\bin\work\work_umcadmin_m\tools\tm\bin.