Export data from InfluxDb which is inside kubernetes

1/17/2020

Is there a way to export the data from influxdb, which is inside kubernetes cluster.

-- Madhuri
export
influxdb
kubernetes

1 Answer

1/17/2020

You can backup InfluxDB data to your local computer

1. Navigate to the influxdb/scripts directory:

$   cd click-to-deploy/k8s/influxdb/scripts

2. Run the make_backup.sh script, passing the name of your InfluxDB instance as an argument.

$  ./make_backup.sh $APP_INSTANCE_NAME $NAMESPACE [BACKUP_FOLDER]

The backup is stored in the influxdb-backup directory on your local computer.

-- MaggieO
Source: StackOverflow