-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cliccl/debug_backup.go: refactor backup inspection tool
Previously, cli backup inspection tool was incorporated in cliccl/load.go. Both the command and syntax are confusing in terms of backup inspection. This patch refactors the naming and syntax of the tool and hand the tool under `cockroach debug`, so that it makes more sense when using it to debug backups. Release note (cli change): Backup inspection used to be done via `cockroach load show ..`, which was confusing to users with ambiguous verbs in the command chain. We refactor the syntax of tool and make the syntax more clear and indicative for users to debug backups. The changes are: `load show summary <backup_url>` -> `debug backup show <backup_url>` `load show incremental <backup_url>` -> `debug backup list-incremental <backup_url>` `load show backups <collection_url>` -> `debug backup list-backups <collection_url>` `load show data <table_name> <backup_url> -> `debug backup export <backup_url> --table=<table_name>`
- Loading branch information
1 parent
8ae7146
commit 3caed9e
Showing
13 changed files
with
153 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.