In many European countries it is legal what you describe. In other European countries you don't even have to own the DVD-Blu-ray, as long as you store the "backup" on a storage medium that you bought in that country (there are pirate-taxes added to storage medium prices that are distributed to copyright holders, kind of legalizing movie and music piracy). One thing though: uploading is considered criminal even in these countries (e.g. the downloading part of torrent is OK, seeding even a byte is a big no-no)