[OPENDJ-7191] dsbackup purge --keepCount does not accept 0 as a value Created: 13/May/20 Updated: 29/May/20 Resolved: 18/May/20
|Reporter:||Ondrej Fuchsik||Assignee:||Ondrej Fuchsik|
|Epic Link:||Backup and restore patterns|
With 7.0.0-SNAPSHOT rev. 045f72e67ea I found out that I can't use 0 as a value for --keepCount parameter of dsbackup purge subcommand.
The tool subcommand doc says:
So the value 0 should be accepted but it is not.
When 0 is used as a value the tool reports following error:
|Comment by Ludovic Poitou [ 13/May/20 ]|
Have you tried with the --force option?
|Comment by Ondrej Fuchsik [ 13/May/20 ]|
I will try but --force is dedicated for --olderThan only.
--force does not help
|Comment by Cedric Tran-Xuan [ 14/May/20 ]|
That's a bug due to a constraint that have been left for the `–keepCount` option. Sorry, about that.
|Comment by Ondrej Fuchsik [ 18/May/20 ]|
Verified with 7.0.0-SNAPSOT rev. ff04c9739d7 .