Support Forums > MP Server
ARSXML Export Application group along with Applications
(1/1)
galina raychuk:
Need to export an application group with applications attached to App group.
Looking for some examples. Thank you
I have this to export application group:
#This function will export all existing appgroups from ags.list, update appgroup name to $grpname-ANEX and Account Number to length of 9
function exportappgroupARSXML {
PWD=$(pwd)
appgrps=`cat ${WDIR}/ags.list`
for grpname in ${appgrps}
do
cp ${WDIR}/xmlheader ${XMLFILE}
echo $grpname
echo " <applicationGroup name=\"${grpname}\">" >>${XMLFILE}
echo " </applicationGroup>" >>$XMLFILE
echo " </onDemand>" >>$XMLFILE
${ARSXML} export -h ${HOST} -u ${ADM} -p ${PW} -i ${XMLFILE} -r pl -v >${tempout}
Mehmet S Yersel:
You need to add the -r a option for exporting applications contained within the application group. This part should be:
${ARSXML} export -h ${HOST} -u ${ADM} -p ${PW} -i ${XMLFILE} -r apl -v >${tempout}
galina raychuk:
Thanks a lot. I did have -r but needed a (for application).
Navigation
[0] Message Index
Go to full version