As now, in v1.8 influxd backup DBRetentionAndShardFromPath() uses the local path separator, e.g. "/" on Unix. This does not work when restoring data from systems using the other one, i.e. "\" on Windows.
The proposed change tries both separators before returning an error.
[X] I've read the contributing section of the project README.
Closes #8256
As now, in v1.8 influxd backup DBRetentionAndShardFromPath() uses the local path separator, e.g. "/" on Unix. This does not work when restoring data from systems using the other one, i.e. "\" on Windows. The proposed change tries both separators before returning an error.