https://prefect.io logo
Title
q

Qin XIA

04/21/2023, 1:48 PM
Hello everyone, We have been using Prefect 1 with a local Docker agent, but we are now trying to migrate to Prefect 2. However, I have noticed that there are many changes in syntax and conception. I was wondering if anyone knows whether it is possible to migrate all of our flows at once, or if we need to modify them individually. Thanks a lot
1
d

Deceivious

04/21/2023, 2:02 PM
We first migrated the
easiest
flow, tested it against prefect cloud and prefect server[locally hosted]. continued using it on v1. We then migrated the flow that used most of the prefect features. Tested on v2, discontinued in v1 and ran only in v2. Monitored it for a week while slowly migrated the other flows to v2 and released all the other flows to v2 and deleted infrastructures of v1. Id say it depends on the number of the flows and the complexity +++ the urgency to move to v2.
👍 1
But if u mean bulk translate v1 to v2, i dont think there are any automated translation scripts/apps
q

Qin XIA

04/24/2023, 7:37 AM
Thanks for your suggestion, i will try what you said.