influxd-restore.txt
1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
influxd-restore(1)
==================
NAME
----
influxd-restore - Restores the metastore, databases, retention policies, or specific shards
SYNOPSIS
--------
'influxd restore' [options] PATH
DESCRIPTION
-----------
Uses backups from the PATH to restore the metastore, databases, retention policies, or specific shards. The InfluxDB process must not be running during a restore.
OPTIONS
-------
-metadir <path>::
If set, the metastore will be recovered to the given path. Optional.
-datadir <path>::
If set, the restore process will recover the specified database, retention policy, or shard to the given directory. Optional.
-database <name>::
Will restore the database TSM files. Required if no metadir is given. Optional.
-retention <name>::
Will restore the retention policy's TSM files. If given, database is required. Optional.
-shard <id>::
Will restore the shard's TSM files. If given, database and retention are required. Optional.
SEE ALSO
--------
*influxd-backup*(1)
include::footer.txt[]