Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: BR备份恢复TIDB集群到新集群之后,账号密码没有到新集群
Using BR to backup and restore a TiDB cluster to a new TiDB cluster, after completion, the account passwords from the old cluster did not migrate over. Does BR backup not include account passwords? If that’s the case, do the account passwords from the old cluster need to be manually dumped?
The backup does not include the original cluster’s account passwords.
You need to manually export and import them.
You can write a script to extract the user passwords and permissions and import them downstream.
It is possible after version 6.2.
Alright, we can only dump manually.
The account password will not be imported automatically.
According to the BR documentation, starting from BR 5.1.0, full backups will include system tables. From BR 6.1, some system tables, including mysql.user, will be automatically imported. I’ll upgrade BR tomorrow and try backing up and restoring.
Got a new version knowledge point. It should be better to merge into 6.1.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.