|
Backup / Restore of Publish Applications |
|
|
The Situation for Import and Export of Applications
You want to have the same Published Applications on a different Citrix Farm or as a backup since you have many PA's. Another reason might be that you need a report off all your Publish Applications and so on. Now in the Citrix Server SDK there are already some utilities that can be used within a batch file to Im- or Export Publish Applications. If you have expirience with vbs, wsh, perl etc. then have a look how to do it with MFCom scripts. Zip Files EXP_PA.zip ADD_PA.zip QUERY_PA.zip | | Files in the zip export.exe enum.exe newapp.exe query.exe Exp_all_farm_apps.cmd Imp_all_apps.cmd Query_all_farm_apps.cmd | | Utilities The PAT utility can Export and Import publish applications including the folder structure. Good for a complete backup and restore.
PAT.zip
|
EXPORT Utility (export.exe SDK 2.2) With that SDK Utility you can export PA's settings to a single file. Export is part of the APSDK (Application Publishing SDK). To see ALL possible options, run Export. Be carful with the AppDN value (Application Distinguished Name) it's CASE SENSITIV ! NOTEYou have to install at least Hotfix XE102W083 when you get "Debug Assertion Failed" error.
NEWAPP Utility (newapp.exe, SDK 2.2)
With that SDK Utility you can create new Puplish Applications from a PA file created with export. Newapp is part of the APSDK (Application Publishing SDK).
Export ALL Farm Publish Applications In combination with the SDK utility enum you can export ALL Publish Applications at once. To do that you only need some basic scripting / batch knowledge.
Create ALL Publish Applications in a new Farm
After you have export all PA's you can edit the app files with a search / replace tool to change server names, user or groups etc. Use the SDK Utility folder to first create CMC folders in the new Farm.
Query all Farm Publish Applications For a reporting you can use the SDK query in combination with the enum program to get all PA's settings in one text file.
Publish Application Rapport The following script writes to a cmd session a list of all Published Applications and the Users and Groups assigned to them.
On a Citrix Server command line, use: cscript pubAppRpt.vbs
pubAppRpt.zip
|