InfluxDB charm should support backups

Bug #1719891 reported by Tom Haddon
8
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.

Tom Haddon (mthaddon)
Changed in influxdb-charm:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Herb McNew (herb) wrote :

See https://docs.influxdata.com/influxdb/v1.3/administration/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'"

Paul Gear (paulgear)
Changed in influxdb-charm:
assignee: nobody → Paul Gear (paulgear)
Revision history for this message
Paul Gear (paulgear) wrote :

Initial version committed in https://code.launchpad.net/~paulgear/influxdb-charm/+git/influxdb-charm/+merge/332218 and available for testing at https://jujucharms.com/u/paulgear/influxdb/ (cs:~paulgear/influxdb-4).

Changed in influxdb-charm:
status: Confirmed → Fix Committed
Paul Gear (paulgear)
Changed in influxdb-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.