try  to replace 1HOURS with 1h ?

edi mari <edim2...@gmail.com> 于2024年11月19日周二 17:52写道:

> Hi,
> I'm attempting to use the `snapshot` command with the `--tt` option, but I
> keep encountering an error.
> Can you help me figure out what I might be doing wrong?
>
> I'm using Cassandra v4.1.5.
>
> *nodetool snapshot --ttl 1HOURS -t my_snapshot my_keyspace*
>
> nodetool: Invalid duration: 1[HOURS] Accepted units:[NANOSECONDS,
> MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS] where case
> matters and only non-negative values.
> See 'nodetool help' or 'nodetool help <command>'.
>
> Thanks
> Edi
>

Reply via email to