Professional Documents
Culture Documents
Refer https://github.com/influxdata/influxdb
Download
Installation
Verify
Browse http://localhost:8083
Influxdb Backup and Restore
Refer
docs.influxdata.com/influxdb/v1.2/administration/backup_and_restore/
stackoverflow.com/questions/27779472/export-data-from-influxdb
Note
1. These instructions applicable to data migration / nightly backups.
2. There i s no single command to backup all databases. One must backup
each database individually. A custom batch program may help.
3. Incremental backups are possible but not covered in this document
Backup
1. Connect to influxdb system
2. Go to command prompt and navigate to <influxdb-directory>
Restore
1. Connect to destination influxdb system
2. Stop influxdb service if running
3. Go to command prompt and navigate to <influxdb-directory>
4. If influxdb <install-drive> is C:
a. Note that, Influx data location is C:\var\lib\influxdb\data
b. Note that, influx meta location is C:\var\lib\influxdb\meta
Admin User
> CREATE USER "username" WITH PASSWORD 'password' WITH ALL PRIVILEGES
General User
Ex:
> CREATE USER "tomcat" WITH PASSWORD '123456'
> GRANT ALL ON passport to tomcat
Influxdb as a Windows Service
Influxdb is not a windows service. However, using NSSM we can install
Influxdb (in fact, any program) as a windows service
Ref https://nssm.cc/commands and https://nssm.cc/usage
Download
Installation
d <install directory>\bin
> c
> g rafana-server.exe
Verify
Browse http://localhost:3000
Adjust p ort if you chose something else
Grafana Migration
These migration instructions are applicable to dashboards only
http://docs.grafana.org/reference/export_import
Export
Import
Other
Go to Services and start grafana service for the first time manually.