Monday, June 27, 2011

CodePlex - BizTalk Backup Tool

First of all,
I have not yet tested this tool and I can't officially recommend this tool as of yet... 
Note:- I will be very soon testing this tool and will be recommending it to you and your company. Till then if you have any experience with it... let me know.

Project Description
This tool backs up the configuration of the BizTalk 'application' servers (not databases). It copies/export settings so the BizTalk app (front-end) servers can be rebuild quickly. This includes config files, application MSIs, binding files, pipeline components etc.

Goal of this tool

This tool was created to ease the process of backing up and restoring a BizTalk group or even to just add a new node to a group.

Latest version

Version 1.0.2 now supports BizTalk 2010

How does it work?

The tool is simply a command line utility that takes several parameters depending on what you want to back up. It utilize both WMI and the BizTalk
ExplorerOM library to do its work. The following things are 'backed up':
  • BTSNTSvc.exe.config files (both 32 and 64-bit if present)
  • Messaging and Pipeline Component directories
  • Generates a BtsAdminConfiguration.xml file with which hosts, instances, adapters and handlers can be recreated (see
  • Export all current applications to MSIs so they can be restored as needed
  • Export all current application binding files
  • Tracking directory (only custom files like xls, xml, btt etc.

Command line parameters

The following is an explanation of the parameters.

Usage: BTSBackup.exe [-config:path] [-comp:path] [-envconfig:path] [-apps:path] [-bind:path] [-track:path] [-log] [-btsdir:installdir]
    config    - Back up BTSNTSvc.exe.config files to path
    comp      - Back up components (pipeline and messaging)
    envconfig - Generate BtsAdminConfiguration.xml file to path
    apps      - Export all application MSI's to path
    bind      - Export all application binding files to path
    track     - Back up custom tracking(BAM) related files to path
    log       -  Write outout to log file (BTSBackup.log)
    btsdir    - Installation directory of BizTalk
  Path details
    path      - May contain macros like {yyyy-MM-dd}
    Allowed macros
 Sample usage: BTSBackup.exe "-config:c:\backups\{yyyy-MM-dd}\config"

.Net framework

The tool is compiled to use only .Net 2.0 framework so it can still work on old BizTalk 2006 servers. It also works fine against BizTalk 2006R2, 2009 and 2010 servers.


As with all other tools that use the BizTalk ExplorerOM library this tool must be compiled to x86 code. It will run on a 64-bit OS but in 32-bit mode.
Also, it needs to run under an account that has the proper privileges.

1 comment:

  1. Also if you have any quick idea...
    How to automate this to make sure that it will backup BizTalk applications with configs at end of the day.

    That will be helpful ~~~


FEEDJIT Live Traffic Map