influxdb/bolt
William Baker b0ea3b6675
feat: backup and restore sqlite database (#21584)
* feat: new metadata backup endpoint

* feat: added restore/sql API endpoint

* fix: content-type is multipart/mixed, part names are kv and sql

* fix: changed multipart manifest to buckets and made it .json

* feat: added lock for backing up sqlite and bolt dbs

* fix: use read lock instead of write lock on kv during backup

* fix: use filepath.Join for temp dirs
2021-06-02 19:07:53 -04:00
..
bbolt.go refactor: automated move of errors and id from root to kit (#21101) 2021-03-30 14:10:02 -04:00
bbolt_test.go fix: Speed up tests by disabling bolt fsync 2020-08-03 09:20:51 -07:00
id.go refactor: automated move of errors and id from root to kit (#21101) 2021-03-30 14:10:02 -04:00
id_test.go refactor: automated move of errors and id from root to kit (#21101) 2021-03-30 14:10:02 -04:00
kv.go feat: backup and restore sqlite database (#21584) 2021-06-02 19:07:53 -04:00
kv_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket (#18570) 2020-07-01 12:08:20 +01:00
metrics.go fix(bolt): prevent concurrent access to telegraf plugin metrics cache (#21042) 2021-03-23 14:16:14 -04:00
metrics_test.go fix(bolt): prevent concurrent access to telegraf plugin metrics cache (#21042) 2021-03-23 14:16:14 -04:00