Disabling soft-delete automatic purging
About this task
The change takes effect immediately without the need of a server restart. If the server is in the middle of an automatic soft-delete purging, it might continue to purge entries until the next time it evaluates the soft delete policy.
Steps
-
To disable soft-delete automatic purging, use the
set-soft-delete-policyoption withdsconfig. -
To reset the soft delete policy properties that control automatic purging, use the
set-soft-delete-policy-propwithdsconfig.Example:
This example resets the
soft-delete-retention-timeandsoft-delete-retain-number-of-entriesproperties.$ bin/dsconfig set-soft-delete-policy-prop \ --policy-name default-soft-delete-policy \ --reset soft-delete-retention-time \ --reset soft-delete-retain-number-of-entries