wdmdumpprf command
We can use the wdmdumpprf command to dump Tmw2kProfiles into xml files. After dumping the profiles, if at anytime in the future they must be reloaded, we can then use the wdmloadprf command.
I have a very simple script in my lab environment that grabs a list of all Tmw2kProfiles, then dumps the profiles to xml files, so your site could use something similar to this script.
Here is the sample script I use in my test environment:
cat ./backup_tmw2k-prf.sh
#!/usr/bin/sh
. /etc/Tivoli/setup_env94.sh
region=nuke-region
for profilename in `wlookup -ar Tmw2kProfile | grep -v @ | awk -F" " '{print $1}'`
do
wdmdumpprf -P $profilename#$region > /tmp/${profilename}.xml
done
exit 0
NOTE: This is a sample script and is only provided as an example and not meant as a recommendation by IBM Support.
The xml files created by the wdmdumpprf command can then be stored in a safe location and your site can import the Tmw2kProfiles back in using the wdmloadprf command.
URL that documents the wdmdumpprf command: