.. highlight:: xml .. index:: save .. _save: ``save`` -------- The ``save`` task saves domain configuration. This is equivalent to invoking "Save Config" from WebGUI. Note that if the Ant property :ref:`dp.auto.save ` is set to ``true``, the configuration will be saved automatically upon the completion of all tasks that make configuration changes (e.g., :ref:`import`). Attributes/Options ^^^^^^^^^^^^^^^^^^ .. list-table:: :widths: 20 80 8 :header-rows: 1 * - Attribute - Description - Required * - | domainPatterns | CLI alias: domains - Comma-delimited list of regular expression patterns defining what domains to apply the command to. Use '.*' for all domains except the default. Use '.*,default' to include the default domain. Defaults to the current domain. The current domain is specified using the ``dpDomain`` property or ``domain`` attribute of the task. - No Examples ^^^^^^^^ .. code-block:: bat # save dev and test domains dpbuddy save -domains "dev,test" .. code-block:: xml .. _saveAll: ``saveAll`` ----------- ``saveAll`` saves the configuration of all domains on DataPower. Shortcut for: .. code-block:: bash dpbuddy save -domains ".*" Examples ^^^^^^^^ .. code-block:: bash # save all domains dpbuddy saveAll