InfluxDB Docs

influx pkg export

The influx pkg export command exports existing resources as a package.


influx pkg export [flags]
influx pkg export [command]

Available subcommands

allExport all existing resources for an organization as a package


FlagDescriptionInput Type
--bucketsComma-separated list of bucket IDsstring
--checksComma-separated list of check IDsstring
--dashboardsComma-separated list of dashboard IDsstring
--endpointsComma-separated list of notification endpoint IDsstring
-f, --filePackage output file. Defaults to stdout. Use .yml or .json file extensions.string
-h, --helpHelp for the export command
--labelsComma-separated list of label IDsstring
--resource-typeResource type associated with all IDs via stdinstring
--rulesComma-separated list of notification rule IDsstring
--tasksComma-separated list of task IDsstring
--telegraf-configsComma-separated list of Telegraf configuration IDsstring
--variablesComma-separated list of variable IDsstring

Global Flags

FlagDescriptionInput type
--hostHTTP address of InfluxDB (default http://localhost:9999)string
--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 callsstring