influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.19k stars 3.51k forks source link

influxd v1.8 backup: allow cross platform remote backups #25025

Closed skladd closed 1 month ago

skladd commented 1 month ago

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.

skladd commented 1 month ago

Close in favor of #25026