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'

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


Thanks for the insight! Much appreciated.

1 Like