Backing up a file transfer template definition

File transfer templates contain an XML document that defines the source and destination file specifications for the transfer. We can use this XML file as input to the fteCreateTemplate command to recreate a file transfer template.


To back up the XML document containing the source and destination file specifications for a transfer template, use either the fteCreateTransfer command command or IBM MQ Explorer. To create a transfer template XML-formatted backup file, use the following steps:


Procedure

  • Method one: use the -gt parameter on an fteCreateTransfer command to generate a transfer template XML message to a new file.
  • Method two: create the template using IBM MQ Explorer. When you get to the Transfer template summary page:
    1. Copy the Request message XML preview.
    2. Save this transfer template XML message to a new file.

  • Method three: use IBM MQ Explorer to backup up existing templates.
    1. Go to Managed File Transfer > Queue Manger Name > Transfer Templates.
    2. In the Transfer panel, highlight the template that needs to be backed up, right click and select Edit from the pop up menu.
    3. Click Next until you get to the Transfer template summary page.
    4. Copy the Request message XML preview.
    5. Save this transfer template XML message to a new file.


Results

We can use the transfer template XML message file, created by one of the above methods, as input to the fteCreateTemplate command. Refer to the fteCreateTemplate command for details of how we use this command.

Parent topic: Work with file transfer templates


Related information