Generally speaking, backup any content with copyright for infringing purposes like commercial redistribution, whether you own it legally or not, is illegal. But when it comes to converting DVD to MP4 for personal use, things are different from country to country.