:description: Quick overview of DataPower Buddy (DPBuddy), the command-line tool for IBM DataPower administration and DevOps .. _index: DPBuddy: Command-Line Tool for IBM DataPower Administration and DevOps ====================================================================== DataPower Buddy ("DPBuddy") is a tool for automating the administration and management of IBM DataPower Gateways. The tool supports configuration export, configuration import, file transfer, backups, crypto and certificate management, and many other functions. Each function is implemented as a command that can be run directly from the command line/shell and as a custom task for the `Apache Ant `_ build tool. For example, to import a domain, you can run the following command: .. code-block:: bash dpbuddy import -file domain.zip -assertObjectsUp -save This command will import the configuration and files contained in "domain.zip", verify that all objects and services are up and running after the import and save the domain's configuration. To implement the same functionality in an Ant build script, you could create an Ant target containing the :ref:`dp:import task ` (all DPBuddy tasks have ``dp:`` XML namespace prefix): .. code-block:: xml You can find many more examples in your DPBuddy distribution under ``samples`` or `online `_. The directories ``samples/cli-shell`` and ``samples/cli-win`` contain CLI examples for Linux and Windows, respectively. The ``samples/ant-tasks`` folder contains examples of Ant tasks. You can also look at ``samples/ant-end-to-end`` and `dp-build.deploy.xml `_, which implements an end-to-end build/deploy process using DPBuddy. Any DPBuddy's command can interact with multiple gateways or domains so you can automate most of your tasks with a single command. .. toctree:: :caption: DPBuddy Basics :hidden: quick_start release_notes install_config dpbuddy_cli using_dpbuddy_ant common_properties managing_env_properties hocon encrypting_properties multi_device_execution use_of_regexp using_dpbuddy_to_transform auditing logging recommended_process logstash env_properties genindex .. toctree:: :caption: DPBuddy Commands changing_config_tasks/changing_config_index files_tasks/files_tasks_index crypto_tasks backup_tasks domain_tasks status_reporting_tasks status_checking_tasks checkpoint_tasks quiesce_tasks log_tasks cache_tasks misc_tasks