How to do backup of a site with including doctype changes?


I have taken backup of my site with command ‘bench --site [site-name] backup’ this taken backup of db only when i check the site after restoring there whatever column i have added in opportunity item doctype that havent came into this site. What to do to get those changes?

After restoring the database, proceed to migrate the site. Additionally, I recommend that if you wish to add a custom field to an existing doctype, you should export it to a custom app using the export-fixtures feature. This ensures that whenever you migrate the site, the field will not be changed or removed.

This export you are saying ???

Please check it.