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.

  • To disable soft-delete automatic purging, use the set-soft-delete-policy option with dsconfig.
  • To reset the soft delete policy properties that control automatic purging, use the set-soft-delete-policy-prop with dsconfig.

    This example resets the soft-delete-retention-time and soft-delete-retain-number-of-entries properties.

    $ 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