Check whether the data and time provided is a valid recovery point for an MSSQL database
def _validate_sql_recovery_point(db_name, date, time, timeout=30)
Name
Type
Description
Choices
db_name
str
The name of the database.
date
The recovery_point date formated as Month-Day-Year (ex: 1-15-2014).
Month-Day-Year
time
The recovery_point time formated as Hour:Minute AM/PM (ex: 1:30 AM).
Hour:Minute AM/PM
Default
timeout
int
The number of seconds to wait to establish a connection with the Rubrik cluster before returning a timeout error.
30
Return Value
dict
A dictionary with values {'is_recovery_point': bool, 'recovery_timestamp': datetime}.
Last updated 6 years ago