influxdb/tsdb
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
..
cursors feat(cursors): Implement Size method so it doesn't panic 2019-08-16 10:34:43 -07:00
internal
testdata
tsi1 fix(tsi1): index defect with negated equality filters 2019-11-12 13:26:23 +00:00
tsm1 feat(storage): implement backup and restore (#16504) 2020-01-21 14:22:45 -08:00
value
config.go
cursor.go
errors.go
explode.go feat(tsdb): Add SQL export for TSI indexes 2019-09-13 10:00:54 -06:00
explode_test.go
index.go
index_test.go refactor(storage): ensure tests clean up 2019-08-12 13:49:52 +01:00
meta.go
meta_test.go
metrics.go
metrics_test.go
series_collection.go
series_collection_test.go
series_file.go
series_file_test.go
series_id.go ci: use latest staticcheck 2019-09-04 16:34:45 -07:00
series_id_test.go
series_index.go
series_index_test.go
series_partition.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
series_partition_test.go
series_segment.go feat(tsi1): add shorthand for --top flag as -t, plus cleaning 2019-07-26 11:12:15 -07:00
series_segment_test.go
series_set.go
series_set_test.go
series_verify.go feat(inspect): add verify-seriesfile to 2.x 2019-08-22 11:01:02 -07:00
series_verify_test.go feat(inspect): add verify-seriesfile to 2.x 2019-08-22 11:01:02 -07:00