Documentation

influx restore

The influx restore command restores backup data and metadata from an InfluxDB backup directory.

Shut down the influxd server before restoring data.

The restore process

When restoring data from a backup file set, InfluxDB temporarily moves existing data and metadata while restore runs. After restore completes, the temporary data is deleted. If the restore process fails, InfluxDB preserves the data in the temporary location.

For information about recovering from a failed restore process, see Restore data.

Usage

influxd restore [flags]

Flags

FlagDescriptionInput type
--bucket-idID of the bucket to restore fromstring
-b--bucketName of the bucket to restore fromstring
--fullFully restore and replace all data on server
--new-bucketName of the bucket to restore tostring
--new-orgName of the organization to restore tostring
--org-idID of the org to restore fromstring
-o--orgName of the org to restore fromstring

New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: