我正在关注Influx 0.11进行POC。以下是我执行备份和还原的步骤。 #backup metadata
--> influxd backup /tmp/backup
[Timestamp] backing up metastore to /opt/backup/meta.00
[Timestamp] backup complete
#backing up a particular DB - mydb
--> influxd backup -database mydb /tmp/mydb/
[Timestamp] backing up db=mydb since 0001-01-01 00:00:00 +0000 UTC
[Timestamp] backing up metastore to /tmp/mydb/meta.00
[Timestamp] backing up db=mydb rp=default shard=12 to /tmp/mydb/mydb.default.00012.00 since 0001-01-01 00:00:00 +0000 UTC
[Timestamp] backup complete
直到现在看起来还不错。 #remove db并停止服务 - >辐辏 - >删除数据库mydb - > systemctl停止涌入
恢复元数据 - >涌入恢复-metadir / var / lib / Influxdb / meta / tmp / backup 使用Metastore snapshot:/opt/backup/meta.00
此时冻结了。 请指教。