Exporting using a properties file

You can specify your export requirements in properties file instead of specifying your requirements using separate parameters at the command line.

Before you begin

By default, the tipcli command uses the tip_home_dir/TIPProfile/etc/tipcli.properties file unless this behavior is overridden by the specifying a discrete settings file using the settingFile parameter.

Ensure that the Tivoli Integrated Portal Server is running.

About this task

To export customization data using a properties file:

Procedure

  1. Create a properties file that specifies the data that you want to export and save it as export-settings.properties in a known location.

    Below is example content for an export properties file:

    import.includePlugins=ImportPagePlugin
    export.includePlugins=ExportPagePlugin
    import.backupDir=c:/tmp/bkups
    export.exportFile=c:/tmp/extest.zip
    import.importFile=c:/tmp/extest.zip
    username=tip_admin_user
    password=tip_admin_password
    import.haSupport=true
    Note: Some parameters are import or export specific. Import specific parameters should be prefixed by import. and export specific parameters should be prefixed by export.. For example, import.backupDir=c:/tmp/bkups.
  2. At the command line change to: tip_home_dir/profiles/TIPProfile/bin.
  3. To export customization data based on the contents of a specific properties file, run the following command:
    • Windows operating system tip_home_dir\profiles\TIPProfile\bin\tipcli.bat Export --username tipadmin_user_name --password tipadmin_password --settingFile export_properties_file
    • Operating systems such as UNIXLinux operating system tip_home_dir/profiles/TIPProfile/bin/tipcli.sh Export --username tipadmin_user_name --password tipadmin_password --settingFile export_properties_file

    Where:

    export_properties_file
    An argument to the settingFile parameter that provides the location and name of the export properties file, for example, C:\\tmp\\export.properties.
    Windows operating system Note: You must use double backslashes characters (\\) when specifying the path to your settings file.
    Note: If there is a conflict between settings specified in the properties file and parameters provided at the command line, then the command line parameters take precedence.

Results

When the Export command completes, a extest.zip file is created in the root temporary directory, for example on Windows systems the file is saved in c:\tmp.

What to do next

Locate extest.zip and copy it to the computer where you intend to apply the exported customization data.

IBM Tivoli Integrated Portal, Version 2.2
Copyright IBM Corporation 2008, 2009, 2010, 2011. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)