Programs you need / debian package
$ dvdbackup -M -i/dev/dvd -o/mnt/store/movies/dvd/backup
$ mkisofs -dvd-video -o /mnt/store/movies/dvd/isos/dvdname.img /mnt/store/movies/dvd/backup/DVDNAME/
VIDEO_TS.IFO should have the lowest number between the square brackets (start sector)! (for a file, not directory)
$ isoinfo -i /mnt/store/movies/dvd/isos/dvdname.img -l -- snip -- [ 291] VIDEO_TS.IFO -- snip --
$ dvdrecord -dao dev=/dev/dvd /mnt/store/movies/dvd/isos/dvdname.img -- snip -- Starting to write CD/DVD at speed 7 in write mode for single session. Last chance to quit, starting real write in 0 seconds. Operation starts. trackno=0 dvdrecord: WARNING: Drive returns wrong startsec (0) using -150 Track 01: Total bytes read/written: 4145184768/4145184768 (2024016 sectors).
Your done!