Backing up custom doctypes

I am trying to figure out how to create a backup that has just my custom Doctypes

I know how to create a backup of the entire site, but I want to do a fresh install and don’t want to have to recreate the Custom Doctypes.

Any help would be appreciated.

1 Like

“bench backup” command has some parameters to include or exclude doctypes.
For instance:

bench --site {site} backup --only 'ToDo,Note,Task,Project,Sales Invoice'

https://frappeframework.com/docs/v14/user/en/bench/reference/backup

PS: You have to try it in a demo environment.

2 Likes

Thanks for the insight! Much appreciated.

1 Like