influxdb/authorizer
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
..
auth.go if(influxdb): updated auth shall return 2019-04-01 12:56:29 -04:00
auth_test.go if(influxdb): updated auth shall return 2019-04-01 12:56:29 -04:00
authorize.go feat(storage): implement backup and restore (#16504) 2020-01-21 14:22:45 -08:00
backup.go feat(storage): implement backup and restore (#16504) 2020-01-21 14:22:45 -08:00
bucket.go fix(tasks): tasks look up system bucket id 2019-10-21 14:48:47 -07:00
bucket_test.go remove org from bucket 2019-04-22 18:39:05 -04:00
check.go feat(influxdb): user disabling 2019-09-23 11:57:16 -07:00
check_test.go feat(influxdb): user disabling 2019-09-23 11:57:16 -07:00
dashboard.go feat(authorizer): add authorized dashboard service 2019-01-17 16:04:16 -05:00
dashboard_test.go test(authorizer): add dashboard service tests 2019-01-17 16:04:16 -05:00
label.go organizationID -> orgID 2019-04-12 01:29:42 -07:00
label_test.go organizationID -> orgID 2019-04-12 01:29:42 -07:00
notification_endpoint.go fix(endpoint): when looking up a endpoint we should allow org only lookup (#16050) 2019-11-27 09:09:36 -07:00
notification_endpoint_test.go chore(http): refactor http layer to be able to encode/decode influxdb.ID's safely 2019-12-13 09:46:01 -08:00
notification_rule.go feat(influxdb): user disabling 2019-09-23 11:57:16 -07:00
notification_rule_test.go feat(influxdb): user disabling 2019-09-23 11:57:16 -07:00
org.go feat(influxdb): authorize org service operations 2019-01-16 14:41:57 -05:00
org_test.go feat(authorizer): add authorized bucket service 2019-01-16 15:37:19 -05:00
password.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
password_test.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
scraper.go check write bucket permission when creating a scraper 2019-05-15 21:44:23 +08:00
scraper_test.go check write bucket permission when creating a scraper 2019-05-15 21:44:23 +08:00
secret.go Fix typos in miscellaneous packages 2019-04-17 13:30:22 -07:00
secret_test.go chore(authorizer): refactor order of checks 2019-01-22 19:23:23 +01:00
source.go chore(bolt): nuke crufty bolt db service 2019-12-30 11:19:48 -08:00
source_test.go feat(authorizer): source authorizer 2019-01-18 14:05:36 +01:00
task.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
task_test.go chore(inmem): nuke the duplicative inmem store 2019-12-30 11:04:45 -08:00
telegraf.go fix(influxdb): rename telegraf orgID 2019-06-03 16:20:53 -04:00
telegraf_test.go fix(influxdb): rename telegraf orgID 2019-06-03 16:20:53 -04:00
urm.go feat(influxdb): add authorized user resource mappings 2019-01-18 14:22:08 -05:00
urm_test.go feat(influxdb): add authorized user resource mappings 2019-01-18 14:22:08 -05:00
user.go feat(influxdb): add authorization for user actions 2019-01-17 16:05:24 -05:00
user_test.go feat(influxdb): add authorization for user actions 2019-01-17 16:05:24 -05:00
util_test.go feat(authorizer): add authorized bucket service 2019-01-16 15:37:19 -05:00
variable.go Rename all occurences of Macro to Variable 2019-02-14 13:21:57 -08:00
variable_test.go feat(influxd): Tracing refactor (#12318) 2019-03-04 11:48:11 -08:00