InfluxDB Docs

influx pkg export all

The influx pkg export all command exports all resources in an organization as an InfluxDB template. For detailed examples of exporting InfluxDB templates, see Create an InfluxDB template.


influx pkg export all [flags]


FlagDescriptionInput TypeMaps to ?
-f, --fileTemplate output file. Defaults to stdout. Use .yml or .json file extensions.string
--filterSpecify resources to export by labelName or resourceKind (format: --filter=labelName=example)list of strings
-h, --helpHelp for the export command
-o, --orgOrganization name that owns the resourcesstringINFLUX_ORG
--org-idOrganization ID that owns the resourcesstringINFLUX_ORG_ID

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstringINFLUX_TOKEN

New! Cloud or OSS?