pingcap / pingcap/tidb

feature: sql enhancement to TiDB backup/restore

Open
#42,825 3 comments 0 reactions 2 assignees Claimed by @YuJuncen View on GitHub
type/feature-request
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Feature Request

**Is your feature request related to a problem? Please describe:**

TiDB PiTR feature is not supported by SQL interface. And there is no interface to check the metadata for full backup or incremental backup.

**Describe the feature you'd like:**

1. SQL support to PiTR functions
2. SQL interface to retrieve backup metadata and task information

**Describe alternatives you've considered:**

**Teachability, Documentation, Adoption, Migration Strategy:**

**Tasks**

***Interface***

- [x] SQL syntax support https://github.com/pingcap/tidb/pull/42826 @BornChanger
- [ ] Async Mode @YuJuncen
- [ ] Logic complementation @YuJuncen @BornChanger
https://github.com/pingcap/tidb/pull/42944
- [x] #43072
- [ ] #43073

***New system tables***
- [ ] system table for BR
- [ ] system table for PiTR

***Metadata retrieval***
- [x] SHOW BACKUP METADATA FROM #42913

***Compatibility and concurrency***
- [ ] SQL statement default parameter syncs with CLI
- [ ] No concurrent conflicting SQL statements TBD
- [ ] Checksum control @YuJuncen

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.