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

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

Related articles

restore