How to Make restore from database ( comp01 ) to database ( comp 02 )
What do you mean by “restore from database to database” ?
You can restore database to a site using
bench --site site_name restore sql_file
you mean by site-name is ( erpnext-production ) or what ?
you need to take backup of erpnext-production then restore it to erpnext-production-1