Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
INFLUXD-RESTORE(1)					    INFLUXD-RESTORE(1)

NAME
       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/

SYNOPSIS
       influxd restore -portable [options] PATH

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

OPTIONS
       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.

SEE ALSO
       influxd-backup(1)

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

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

COPYRIGHT
       InfluxDB	is released under the MIT license.

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

				  08/10/2020		    INFLUXD-RESTORE(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | BUGS | AUTHORS | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=influxd-restore&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help