查看InfluxDB Quick Start的源代码
←
InfluxDB Quick Start
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Restore == '''1. Restored the metastore so that InfluxDB knows which databases exist:''' <source lang=bash> $ sudo influxd restore -metadir /var/lib/influxdb/meta /tmp/backup Using metastore snapshot: /tmp/backup/meta.00 </source> '''2. Recover the backed up data:''' <source lang=bash> $ sudo influxd restore -database elecdb -datadir /var/lib/influxdb/data /tmp/backup Restoring from backup backup/data/elecdb.* unpacking /var/lib/influxdb/data/elecdb/autogen/123/000000007-000000002.tsm unpacking /var/lib/influxdb/data/elecdb/autogen/130/000000005-000000002.tsm </source> '''3. Recover the file permissions and restart the influxdb:''' <source lang=bash> $ sudo chown -R influxdb:influxdb /var/lib/influxdb $ sudo service influxdb restart </source> <pre> Usage: influxd restore [flags] PATH -metadir <path> Optional. If set the metastore will be recovered to the given path. -datadir <path> Optional. If set the restore process will recover the specified database, retention policy or shard to the given directory. -database <name> Optional. Required if no metadir given. Will restore the database TSM files. -retention <name> Optional. If given, database is required. Will restore the retention policy's TSM files. -shard <id> Optional. If given, database and retention are required. Will restore the shard's TSM files. </pre> <br><br>
返回到
InfluxDB Quick Start
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面