-
Notifications
You must be signed in to change notification settings - Fork 38
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
Updated On-Demand-Snapshot Function for MSSQL to support Multiple Objects #196
Conversation
@Draper1 Looks like the unit tests are failing. Can you take a look? |
Looks like we are adding two new variables here: We need to update the doc string and user docs with these new variables. Ramzi updated the Digging into the unit tests more. These two functions are both returning blank lists in the return tuple:
|
@Draper1 going to close this one out. Let me know if you have cycles to cirlce back on it. |
Description
Adds functionality to MSSQL
on_demand_snapshot
to allow multiple objects to be protected with a single call. This will now support:object_name = ['DB1','DB2']
orobject_name = "DB1"
NB: This introduces a small breaking change: sql_db variable has been removed from
on_demand_snapshot
as we now useobject_name
which is consistent with all other SDK methods.Related Issue
#183
Motivation and Context
This means we no longer need to loop through a list of Databases, we can simply specify the DBs on the instances and protect them with a single call to the Python SDK.
How Has This Been Tested?
This has be tested locally.
Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!