how to exclude multiple folders when running traUpgradeManager?

how to exclude multiple folders when running traUpgradeManager?

book

Article ID: KB0071739

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) 5.11.x, 5.12.x

Description

Sometimes users don't want to update all files when running  traUpgradeManager. For example, a user has TIBCO_HOME folder with below content. After installing RV 8.6, he wants to update RV_HOME for TRA 5.12, BusinessWorks 5.15, Designer 5.12 without affecting TRA 5.10, BW 5.13 or Designer 5.10.
User-added image

Issue/Introduction

This article shows how to exclude multiple folders/files when running traUpgradeManager

Environment

OS:All

Resolution

One option is to run traUpgradeManager multiple times. Each time updates one folder/product only like below:
./traUpgradeManager -path /home/tea/tibco5x/tra/5.12 -rv /home/tea/tibco5x/tibrv/8.6
./traUpgradeManager -path /home/tea/tibco5x/designer/5.12 -rv /home/tea/tibco5x/tibrv/8.6
./traUpgradeManager -path /home/tea/tibco5x/bw/5.15 -rv /home/tea/tibco5x/tibrv/8.6

Another option use the "-exclude" option following a file  which lists all the folders to exclude. This file has a  a list of files/folders name (Only their name, not their full path) that needs to be excluded. In this case, the "/tmp/excludeFiles.txt" with below content will make skip folder " tra/5.10", " designer/5.10", " bw/5.13" and file  domainutility.tra and  AppManage.tra
User-added image
The command will be like below:
./traUpgradeManager -path /home/tea/tibco5x/ -rv /home/tea/tibco5x/tibrv/8.6 -exclude /tmp/excludeFiles.txt
(*** basically files/folders which appear in file excludeFiles.txt will be skipped.)
User-added image