-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[SQL] Sql midb Add: update/show long term retention policy, show/delete long term retention backups, restore long term retention backup #12712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
de11560
added ltr mi policy to commands/params
xaliciayang 3d2172d
add custom commands/params for ltr mi backup APIs; updated params for…
xaliciayang 197c900
added LTR Policy tests
xaliciayang 7fca0f7
fixing pylint
xaliciayang 233c779
fix pylint
xaliciayang 8932742
updated commands
xaliciayang 0887b12
fix setting location for ltr restore
xaliciayang 32bdfd3
adding test cases for all LTR MI functions
xaliciayang 756738c
removing unrelated files
xaliciayang 59e19c4
added help, some fixes to parameters
xaliciayang 9f9aee5
edit test cases
xaliciayang e3a393d
removed print line
xaliciayang 0ec14bb
removing unneeded files; removing whitespace fixes
xaliciayang 3f45a78
whitespace fixing; adding some details to params
xaliciayang bd9f71c
updating help/params, some typos
xaliciayang 2382a1f
updated help
xaliciayang 4ebae7b
more changes to help
xaliciayang 60a1cfa
recording file
xaliciayang 01d1bb1
switch back resource names
xaliciayang d0d2f6a
test resource names
xaliciayang dcf401f
fix a db name
xaliciayang b5b74a0
shorten 'long-term-retention' and '--only-latest-per-database'
xaliciayang 72989c1
updated recording
xaliciayang ccf3da9
- consolidate all list-by-* to list
xaliciayang 561da9f
remove ltr restore from help
xaliciayang eb981f1
updated test recording for ltr
xaliciayang 7534e97
remove managed_db_restore_ltr_backup from commands
xaliciayang 57277e5
replace "list-by-*" with "list" in help
xaliciayang 5ad302f
remove blank lines from params
xaliciayang c935c15
revert restore ltr backup command to be separate from PITR
xaliciayang 687e9bb
re-recorded
xaliciayang 9661b27
change help to use ltr restore
xaliciayang 920401f
undo changes for restore (pitr)
xaliciayang 4d39351
revert changes in PITR restore tests
xaliciayang dd0eb2d
style/pylint
xaliciayang 223b945
moved restore under ltr-backup
xaliciayang 94b0530
update ltr restore command in help
xaliciayang 97c0ade
add wait to help
xaliciayang 4b32d6a
rename restore function for MI
xaliciayang 41aa6dd
rename restore custom function (again)
xaliciayang 0ac9bfb
clarified param requirements for ltr-backup restore
xaliciayang 8490995
changed help descriptions for retention params
xaliciayang 9493d8e
remove whitespace
xaliciayang 204b6fb
changed --name to represent backup name in ltr-backup commands
xaliciayang 7452420
added lines for style
xaliciayang f9d22b3
fix help
xaliciayang bc782bd
update week_of_year help
xaliciayang 0be376f
add \ to help; add confirmation for delete; add checks in tests; re-r…
xaliciayang 96c6b3a
enable ltr-backup show to accept backup-id
xaliciayang 35badd4
enable delete with backup_id
xaliciayang fb05415
adjust usage of --latest in test
xaliciayang 7898a1d
remove py files
xaliciayang 98ea63f
added hard length checks to tests; added show test using backup id; a…
xaliciayang 81450d1
test re-record
xaliciayang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.