为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【TiDB 版本】
5.0.1
【问题描述】
使用共享NFS方式做备份恢复,恢复失败:
[root@zzp-pd01 bin]# ./br backup db \
--pd "10.6.142.160:2379" \ --db demo_21_ceshi \ --storage "local:///home/tidb/backup" \ --ratelimit 120 \ --log-file backupfull.log
Detail BR log in backupfull.log
Database backup <--------------------------------------------------------------------------------------------------------------------------------------------------> 100.00%
Checksum <---------------------------------------------------------------------------------------------------------------------------------------------------------> 100.00%
[2021/05/13 10:05:53.041 +08:00] [INFO] [collector.go:62] [“Database backup success summary”] [total-ranges=72] [ranges-succeed=72] [ranges-failed=0] [backup-checksum=12.926049781s] [backup-fast-checksum=19.163477ms] [backup-total-regions=345] [BackupTS=424901739069833221] [Size=1066020839] [total-take=50.857603167s] [total-kv=128034231] [data-size=21.41GB] [average-speed=566.9MB/s]
[root@zzp-pd01 bin]# ./br restore db \
--pd "10.6.142.160:2379" \ --db "demo_21_ceshi2" \ --storage "local:///home/tidb/backup" \ --log-file restorefull.log
Detail BR log in restorefull.log
[2021/05/13 10:08:01.366 +08:00] [INFO] [collector.go:62] [“Database restore success summary”] [total-ranges=0] [ranges-succeed=0] [ranges-failed=0] [Size=1066020839] [total-take=127.79358ms]
日志文件:
backupfull.log (2.0 MB) restorefull.log (75.9 KB)