vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.45k stars 2.09k forks source link

Feature Request: Add more flexibility backing up/restoring from different backup engines. #16429

Open rvrangel opened 2 months ago

rvrangel commented 2 months ago

Feature Description

Today even though a vttablet can restore backups take from different backup engines, we can't change which backup engine we want to use unless we have tablets with different configuration in the same shard or changing it and restarting.

I would propose the following:

Use Case(s)

This will be interesting specially in combination with https://github.com/vitessio/vitess/issues/16294 as it will allow for the particular scenario of being able to take both physical and logical backups, but always restoring physical backups by default. We would still be able to target a specific backup to be restored via and API call via its timestamp.

shlomi-noach commented 2 months ago

I like this idea.