21. 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.

21.1. restartDomain

This task restarts the domain.

21.1.1. Example

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

21.2. resetDomain

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

21.2.1. Example

dpbuddy resetDomain
<dp:resetDomain/>