i would like to migration data from an influxb 1.8 to an influx DB 2.0.
I’ve tried the backup/restore scenario but i get an error:
osboxes@osboxes:~ influx restore /home/osboxes/backup
Error: Restore failed while processing manifest files: read manifest: parsing time "0" as ""2006-01-02T15:04:05Z07:00"": cannot parse "0" as """.
See 'influx restore -h' for help
osboxes@osboxes:~
Hi @ced2flux, I’ll look into the parsing error you hit.
In the meantime, there is an “influxd upgrade” command designed for the 1.x->2.x migration scenario. You can find high-level documentation about the process here. Can you give the command a try and let me know if it works for you?
I’ve got exactly the same issue. I don’t want to update my production database, so I can’t test influxd upgrade. Is there a recommended way to upgrade from a 1.8 server to a new 2.0 one?
influxd upgrade is the only recommended way to migrate 1.x data into a 2.x instance. The output formats for 1.x and 2.x backups don’t align, so it’s not possible to backup from 1.8 and restore to 2.0.
If you want to avoid shutting down your running 1.x instance to run influxd upgrade on that server, you could:
Take a backup of your 1.x instance
Spin up a new 1.x instance on a separate server
Use the 1.x restore command to push your backup into the new server
Shut down the new 1.x instance
Run influxd upgrade to migrate the new server to 2.x
@kaylani-pnt the downloads portal has instructions for 1.x downloads at the bottom of the page. You’ll need to click the box that says “Are you interested in InfluxDB 1.x Open Source?”