GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
INFLUXD-RESTORE(1)   INFLUXD-RESTORE(1)

influxd-restore - Restores databases or specific shards to an InfluxDB OSS instance from the specified PATH. Complete documentation for the '-portable' restore method described here, and the deprecated legacy restore format, is located here: https://docs.influxdata.com/influxdb/latest/administration/backup_and_restore/

influxd restore -portable [options] PATH

Uses backup copies from the specified PATH to restore databases or specific shards from InfluxDB OSS or InfluxDB Enterprise to an InfluxDB OSS instance.

Note: Restore using the -portable option consumes files in an improved Enterprise-compatible format that includes a file manifest.

-portable

Required to activate the portable restore mode. If not specified, the legacy restore mode is used.

-host <host:port>

InfluxDB OSS host to connect to where the data will be restored. Defaults to 127.0.0.1:8088.

-db <db_name>

Name of database to be restored from the backup (InfluxDB OSS or InfluxDB Enterprise)

-newdb <newdb_name>

Name of the InfluxDB OSS database into which the archived data will be imported on the target system. Optional. If not given, then the value of -db <db_name> is used. The new database name must be unique to the target system.

-rp <rp_name>

Name of retention policy from the backup that will be restored. Optional. Requires that -db <db_name> is specified.

-newrp <newrp_name>

Name of the retention policy to be created on the target system. Optional. Requires that -rp <rp_name> is set. If not given, the -rp <rp_name> value is used.

-shard <shard_id>

Identifier of the shard to be restored. Optional. If specified, then -db <db_name> and -rp <rp_name> are required.

PATH Path to directory containing the backup files.

influxd-backup(1)

Report bugs to the GitHub issue tracker https://github.com/influxdata/influxdb.

InfluxDB is written and maintained by InfluxData https://influxdata.com.

InfluxDB is released under the MIT license.

This man page is released under Creative Commons Attribution 4.0 International License.

04/09/2022  

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.