InfluxDB charm should support backups
Bug #1719891 reported by
Tom Haddon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
InfluxDB Charm |
Fix Released
|
High
|
Paul Gear |
Bug Description
The InfluxDB charm should support backups. Initially it's okay if the restore process is manual, but eventually we'll want to add that as a charm action as well.
Changed in influxdb-charm: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in influxdb-charm: | |
assignee: | nobody → Paul Gear (paulgear) |
Changed in influxdb-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See https:/ /docs.influxdat a.com/influxdb/ v1.3/administra tion/backup_ and_restore/
Key points:
* The above page talks about backing up the metastore as a distinct entity, but that isn't necessary. When you back up a particular database it gets the metastore along with it.
* You must create per-database backups. There isn't a way to dump all the databases to a single set of files.
* The command to dump a backup is "influxd backup -database <dbname> <filesystem- location> "
* Influx backups to the same location are incremental backups. I suspect we want to support both incremental and full backups (but perhaps only ship full backups offsite?)
* To enumerate the databases from the command line use "influx -execute 'show databases'"