influx restore
requires a single positional argument even when --input
is specified
#21475
Labels
influx restore
requires a single positional argument even when --input
is specified
#21475
Steps to reproduce:
influx backup
influx restore --input <path-to-the-backup>
, as shown in our public docsExpected behavior:
CLI attempts to restore the backup.
Actual behavior:
Error: must specify path to backup directory
The CLI is currently coded to require a single positional arg, for use as the input path. The
--input
option is effectively useless because of this.To fix:
--input
is given--input
as deprecated / log a warning when it's usedThe text was updated successfully, but these errors were encountered: