how i can backup doctype and restore them
Push them to your app.
Start with the tutorial: http://frappe.github.io/frappe/user/en/
link is not working now, can you update new link?