Skip to content
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

Import of backup generated on Windows does not work on Linux #7656

Closed
phoenix147 opened this issue Nov 25, 2016 · 0 comments
Closed

Import of backup generated on Windows does not work on Linux #7656

phoenix147 opened this issue Nov 25, 2016 · 0 comments
Milestone

Comments

@phoenix147
Copy link

phoenix147 commented Nov 25, 2016

Bug report

I have an installation of inluxdb running on Windows 10. I made a backup of the metadata and my database and tried to restore it on my linux machine.

The retstore finished without errors, but as you can see in the following snippet, the path seperator is wrong and as a result, only a file named "stationdata\autogen\2\000000002-000000001.tsm" is generated.

sudo influxd restore -database stationdata -datadir /var/lib/influxdb/data stationdata.bak Restoring from backup stationdata.bak/stationdata.* unpacking /var/lib/influxdb/data/stationdata\autogen\2\000000001-000000001.tsm unpacking /var/lib/influxdb/data/stationdata\autogen\2\000000001-000000001.tsm unpacking /var/lib/influxdb/data/stationdata\autogen\2\000000002-000000001.tsm

Manually renaming the file and adding the folders works.

System info:
Windows 10 64bit
Arch Linux 64bit
Influx server and client: 1.1.0

Steps to reproduce:

  1. Make Backup on Windows
  2. Restore Backup on Linux

Expected behavior: Database should be imported up correctly.

Actual behavior: Database is not imported, because the path seperator is wrong, i.e. "\" instead of "/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants