Open IANTHEREAL opened 3 years ago
for BR in SQL you could do SHOW BACKUPS
since pingcap/tidb#22699
Is there a way for BR tool to call API(callback) of my service or push message to messaging service(kafka or sqs) when backup's state changes
still not, currently it can only be achieved by writing a script, we will consider it later @rahilsh
So I guess the final artifact should be a SQL stmt like SHOW BACKUP INFO IN $storage
?
Feature Request
Describe your feature request related problem:
The backup feature of TiDB is currently executed by a tool
br
. Now user can only monitoring the running of this toolbr
, and check the final log to confirm the backup result.successful log example:
But I consider that it's better to write the backup result to backup metadata. And after supporting backup/restore via SQL in TiDB, user can query the metadata through SQL.
This will make it easier for users to maintenance
Describe the feature you'd like:
log backup result(success/failure) in backupmeta