yugabyte/yugabyte-db

[DocDB] Help users map snapshot schedules to dbs more clearly when using yb-admin restore_snapshot_schedule

Open

#16.190 geöffnet am 22. Feb. 2023

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C (1.003 Forks)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

Jira Link: DB-5622

Description

To perform pitr, a user must pass a snapshot schedule's uuid to the yb-admin restore_snapshot_schedule command. The command doesn't provide any output indicating which database was restored.

To make things easier for users we should modify the command so the link between snapshot schedule and db is clear. The command could possibly be modified to support a db name, or it could print out the name of the db restored when it returns successfully.

Contributor Guide