influxdb/storage
Jacob Marble b836ab9c17
feat(storage): implement backup and restore (#16504)
* feat(backup): `influx backup` creates data backup

* feat(backup): initial restore work

* feat(restore): initial restore impl

Adds a restore tool which does offline restore of data and metadata.

* fix(restore): pr cleanup

* fix(restore): fix data dir creation

* fix(restore): pr cleanup

* chore: amend CHANGELOG

* fix: restore to empty dir fails differently

* feat(backup): backup and restore credentials

Saves the credentials file to backups and restores it from backups.

Additionally adds some logging for errors when fetching backup files.

* fix(restore): add missed commit

* fix(restore): pr cleanup

* fix(restore): fix default credentials restore path

* fix(backup): actually copy the credentials file for the backup

* fix: dirs get 0777, files get 0666

* fix: small review feedback

Co-authored-by: tmgordeeva <tanya@influxdata.com>
2020-01-21 14:22:45 -08:00
..
compat Storage engine now validates all tags are utf-8 2019-03-07 09:56:07 +00:00
reads feat(http): expose list of available telegraf plugins (#16233) 2019-12-17 16:53:19 -07:00
readservice refactor(storage/readservice): rename View interface to Viewer 2019-11-20 16:10:37 -06:00
wal fix: update test to use 'valid' marshalled predicate 2019-12-18 15:33:44 +00:00
Makefile chore(Makefile): add target to check generated files are accurate 2018-12-18 12:54:17 -07:00
bucket_service.go fix(tasks): tasks look up system bucket id 2019-10-21 14:48:47 -07:00
bucket_service_test.go chore(inmem): nuke the duplicative inmem store 2019-12-30 11:04:45 -08:00
config.go Improve bulk series file writes. 2019-04-05 14:38:58 -06:00
engine.go feat(storage): implement backup and restore (#16504) 2020-01-21 14:22:45 -08:00
engine_schema.go fix(storage): Ensure Tag(Keys|Values) APIs never return (nil, nil) 2019-05-02 09:45:38 -07:00
engine_test.go refactor: add engine write benchmarks 2020-01-16 21:01:57 +00:00
metrics.go chore(storage): bring back storage_retention_checks_total (#14735) 2019-08-22 10:47:27 -07:00
opener.go feat(influxd): Tracing refactor (#12318) 2019-03-04 11:48:11 -08:00
points_writer.go respond to pr comments 2019-08-05 13:16:51 -05:00
points_writer_test.go respond to pr comments 2019-08-05 13:16:51 -05:00
retention.go fix(tasks): tasks look up system bucket id 2019-10-21 14:48:47 -07:00
retention_test.go fix: prevent integer overflow 2019-11-22 14:06:21 +00:00
series_cursor.go fix(storage): Store.Read behavior changed to return unsorted series keys 2019-04-26 10:38:59 -07:00
series_cursor_test.go feedback: Simplify reader; use constants from influxdb package 2019-02-21 11:18:08 -08:00