influx export all
influx 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 export all [flags]
|Flag||Description||Input Type||Maps to ?|
|CLI configuration to use for command||string|
|Path to ||string|
|Template output file. Defaults to stdout. Use ||string|
|Specify resources to export by labelName or resourceKind (format: ||list of strings|
|Help for the |
|HTTP address of InfluxDB (default ||string|
|Organization name that owns the resources||string|
|Organization ID that owns the resources||string|
|Skip TLS certificate verification|
Export all resources in an organization as a template
influx export all --org $INFLUX_ORG
Export all bucket resources as a template
influx export all --org $INFLUX_ORG --filter=resourceKind=Bucket
Export all resources associated with label Foo
influx export all --org $INFLUX_ORG --filter=labelName=Foo
Export all bucket resources and filter by label Foo
influx export all --org $INFLUX_ORG \ --filter=resourceKind=Bucket \ --filter=labelName=Foo
Export all bucket or dashboard resources and filter by label Foo.
Note: “like” filters are unioned and filter types are intersections.
For example, the following will export a resource if it is a dashboard or bucket and has an associated label of
--filter=resourceKind=Bucket \ --filter=resourceKind=Dashboard \ --filter=labelName=Foo
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.