Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use br restore point to do PITR from encrypted full backup, Error: proto: BackupMeta: wiretype end group for non-group #57175

Open
zjcxc opened this issue Nov 6, 2024 · 0 comments
Labels
type/bug The issue is confirmed as a bug.

Comments

@zjcxc
Copy link

zjcxc commented Nov 6, 2024

Bug Report

TiDB v8.1

1. parameter set

pd=( --pd http://127.0.0.1:2379 )
key=( --crypter.method aes256-ctr --crypter.key 7878787878787878787878787878787878787878787878787878787878787878 )
fd_log=/db_backup/blog
fd_full=/db_backup/full

2. backup log nd full ( log start 中可以指定 "${key[@]}" 不会出错,但不会生效)

br log start --task-name test "${pd[@]}" --storage $fd_log
br backup full "${pd[@]}" --storage $fd_full "${key[@]}"

3. restore point (失败)

br restore point "${pd[@]}" -s $fd_log --full-backup-storage $fd_full "${key[@]}"

Error: proto: BackupMeta: wiretype end group for non-group

4. restore full + point (成功. restore point 可以指定 "${key[@]}" 不会出错,但不会生效)

br restore full "${pd[@]}" -s $fd_full "${key[@]}"
br restore point "${pd[@]}" -s $fd_log "${key[@]}" --start-ts xxxxx

@zjcxc zjcxc added the type/bug The issue is confirmed as a bug. label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

1 participant