"unauthorized access" in database backup

Following error occurs in my backup using a full-access token, so that’s the problem?

xtech_tick@ychx:~/backup$ influx backup ./tick -t
2021-08-21T01:54:53.516146Z info Backing up KV store {“log_id”: “0W5bXZo0000”, “path”: “tick/20210821T015453Z.bolt”}
Error: Failed to download KV backup: unauthorized access.
See ‘influx backup -h’ for help

it seems must use “root authorization token”, but after check the whole process of setup process, I create the token mannully from the UI. how to get the root authorization token?
InfluxDB 2.0 system really shit in helping developers

1 Like