请教各位,BR备份报错TIkv权限不足,怎么解决

[root@vm10-2-103-28 backup]# tiup br backup full --storage “/home/tidb/test_yp/backup” --pd “10.2.103.28:2433” --log-file restore.log --ratelimit 128
Starting component br: /root/.tiup/components/br/v8.5.1/br backup full --storage /home/tidb/test_yp/backup --pd 10.2.103.28:2433 --log-file restore.log --ratelimit 128
Detail BR log in restore.log
[2025/02/26 14:28:55.640 +08:00] [WARN] [backup.go:314] [“setting --ratelimit and --concurrency at the same time, ignoring --concurrency: --ratelimit forces sequential (i.e. concurrency = 1) backup”] [ratelimit=134.2MB/s] [concurrency-specified=4]
Full Backup <…> 0.00%[2025/02/26 14:28:59.039 +08:00] [INFO] [collector.go:77] [“Full Backup failed summary”] [total-ranges=0] [ranges-succeed=0] [ranges-failed=0] [backup-total-ranges=211] [backup-total-regions=227]
Error: error happen in store 1: I/O permission denied error occurs on TiKV Node(store id: 1). workaround: please ensure tikv has permission to read from & write to the storage.: [BR:KV:ErrKVStorage]tikv storage occur I/O error
Full Backup <…> 0.00%
[root@vm10-2-103-28 backup]#


tikv的数据目录的deploy目录权限我都给满了,到底是哪里的权限问题,请教下各位老师

导出用户有没有这个目录权限/home/tidb/test_yp/backup

2 个赞

感谢大佬

[root@vm10-2-103-28 test_yp]# tiup br restore db --db tpch --storage “/home/tidb/test_yp/backup02” --pd “10.2.103.28:2433” --with-sys-table --log-file restore02.log
Starting component br: /root/.tiup/components/br/v8.5.1/br restore db --db tpch --storage /home/tidb/test_yp/backup02 --pd 10.2.103.28:2433 --with-sys-table --log-file restore02.log
Detail BR log in restore02.log
[2025/02/26 15:43:19.807 +08:00] [INFO] [collector.go:77] [“DataBase Restore failed summary”] [total-ranges=0] [ranges-succeed=0] [ranges-failed=0]
Error: The current snapshot restore want to restore cluster to the BackupTS[456275750692585473], which is different from that[456275236995203076] recorded in checkpoint. Perhaps you should specify the last full backup storage instead, or just clean the checkpoint database[__TiDB_BR_Temporary_Snapshot_Restore_Checkpoint] if the cluster has been cleaned up.
大佬,再请教下,这个是要把源库的所有数据库都删掉吗

此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。