James Gentes
James Gentes

Reputation: 8086

InfluxDB: restore: DB metadata not changed. database may already exist

I'm trying to restore DB "test" and started by doing a drop test which was successful, however when I try to restore using influxd restore -portable -newdb "test" test_backup.influx I get this error:

restore: DB metadata not changed. database may already exist

The database is not listed when I show databases so I find this a bit strange.

Upvotes: 2

Views: 4355

Answers (1)

user10537838
user10537838

Reputation: 64

you can try adding -db , -datadir and -metadir ..

influxd restore -portable -db "test" -newdb "test" -datadir /.../data -metadir /.../meta test_backup.influx

Upvotes: 1

Related Questions