https://prefect.io logo
a

Arun Giridharan

02/01/2021, 8:44 PM
Is there a way to write a prefect flow to snapshot a DB?
k

Kyle Moon-Wright

02/01/2021, 8:59 PM
Hey @Arun Giridharan, Definitely! I think many of the details will come down to use case specifics like the type of database, access, etc, but as long as you can accomplish this using Python - you are able to orchestrate with P. Perhaps others have experience with this particular use case and its challenges.
🙌 1
a

Arun Giridharan

02/01/2021, 9:03 PM
Cool! I was thinking about a way to snapshot an Amazon RDS. I know we can do it from the Amazon CLI, but I'm not sure how to do it with Python?
a

Amanda Wee

02/01/2021, 9:09 PM
If you can do it from the AWS CLI, then likely you can use the Python boto3 library to do the same thing.
🙌 1