Recommended way to migrate Frappe Builder pages from local to production

Hi @surajshetty ,

I have built a site locally using Frappe Builder (FF v15, Builder latest) with multiple pages, dynamic data scripts, and a custom DocType. I want to move this to production (Frappe Docker).
I went through a few existing threads before posting this but couldn’t find a clear answer

The only method that worked for me was backup and restore, but this is not sustainable as any future changes on local will overwrite prod data on the next restore.
A few questions:

  1. What is the recommended workflow to migrate builder pages from local to prod and continue further development?

  2. Is a custom app with fixtures the right approach? If so, what exactly needs to be included?

  3. Or is directly creating pages on the live site still the recommended approach as mentioned in earlier threads?

    Thanks!

@VLD I don’t think the copy/paste or backup-restore approach is ideal for long-term Builder development, since it can overwrite production data and becomes difficult to maintain over time.

Instead of manually recreating pages on production, would it be better to choose either fixtures or patches, depending on the use case

Option 1: Fixtures

If Builder pages and related configurations are expected to change over time, using fixtures seems like a better option.

Option 2: Patches

If the Builder changes are finalized/confirmed and only need controlled deployment, then patches seem more appropriate.