I’m trying to learn how to backup and restore data. I’ve backed up the data from database “test”. Then I dropped the database “test”.
I’m using the control line to restore data:
influxd restore -database test -metadir /Users/chenayu/.influxdb/meta -datadir /Users/chenayu/.influxdb/data /Users/chenayu/Desktop/test_backup
And it showed:
Using metastore snapshot: /Users/chenayu/Desktop/test_backup/meta.00
2020/05/03 01:06:02 Restoring offline from backup /Users/chenayu/Desktop/test_backup/test.*
It seemed that it worked but I cannot find the database “test”. I don’t know what’s really going on. Any suggestion would be helpful. Thank you.