20. Tasks/Commands for Resetting/Restarting Domains

Both of the tasks explained in this section run against the domain provided by the ‘domain’ attribute or ‘dp.domain property.

20.1. restartDomain

This task restarts the domain.

20.1.1. Example

dpbuddy restartDomain -domain default
<dp:restartDomain domain="default"/>

20.2. resetDomain

This task resets the configuration of the domain. It deletes all configuration objects in the domain. The task does not affect files.

20.2.1. Example

dpbuddy resetDomain
<dp:resetDomain/>