-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote backup (linux -> windows) #8256
Comments
Did you manage to find a work around that doesn't involve switching to a Linux machine? |
No, I did not find any work around for that. Using a linux machine. |
Any chance this will be fixed so that we can back up to Windows machines? :-) |
I have the same issue, but other way around. Windows -> Linux |
Same issue here, can't backup from Linux -> Windows |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions. |
Seems this problem is still present (trying to backup a linux influx instance from windows) |
Closes influxdata#8256 As now, in v1.x 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](https://github.com/influxdata/influxdb/blob/main/README.md). - [X] Signed [CLA](https://influxdata.com/community/cla/) (if not already signed).
Closes influxdata#8256 As now, in v1.x 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](https://github.com/influxdata/influxdb/blob/main/README.md). - [X] Signed [CLA](https://influxdata.com/community/cla/) (if not already signed).
I cannot do a remote backup of a linux influxdb instance from a windows machine.
I get the following error:
backup: expected database, retention policy, and shard id in path: database/years/13944
The error seems to be related to the following line.
https://github.com/influxdata/influxdb/blob/master/cmd/influxd/backup/backup.go#L381
I just assume, that "filepath.Separator" returns the windows separator "\" which than is used to split a linux path with "/" as separator.
The text was updated successfully, but these errors were encountered: