Back up data
influx backup command to back up
data and metadata stored in InfluxDB.
InfluxDB copies all data and metadata to a set of files stored in a specified directory
on your local filesystem.
InfluxDB 1.x/2.x compatibility
The InfluxDB 2.7
influx backup command is not compatible with versions of InfluxDB prior to 2.0.0.
For information about migrating data between InfluxDB 1.x and 2.7, see:
influx backup command cannot back up data stored in InfluxDB Cloud.
influx backup command requires:
- The directory path for where to store the backup file set
- The root authorization token (the token created for the first user in the InfluxDB setup process).
Back up data with the influx CLI
influx backup <backup-path> -t <root-token>
influx backup \
path/to/backup_$(date '+%Y-%m-%d_%H-%M') \
Was this page helpful?
Thank you for your feedback!
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, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.