save

The save task saves domain configuration. This is equivalent to invoking “Save Config” from WebGUI.

Note that if the Ant property 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., import).

Attributes/Options

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

# save dev and test domains
dpbuddy save -domains "dev,test"
<dp:save/>

saveAll

saveAll saves the configuration of all domains on DataPower. Shortcut for:

dpbuddy save -domains ".*"

Examples

# save all domains
dpbuddy saveAll