I want to create a bit-by-bit backup of my DVD and a Blu-ray disc without removing its encryption. Is dd be the best method, and if so, what flags or settings should I use? Also, is comparing the SHA-256 hash of the generated ISO file with the hash of the original disc’s raw data (read from /dev/sr0) the best method for verifying the backup’s integrity?
This is silly. You’re approaching this with wrong-headed thinking. Just use makemkv.
What you will have if you used hacked firmware to bypass physical anti-copying methods present on BluRay discs to actually get a bit for bit copy of your disc is a useless blob of encrypted data that you have no way of verifying for accuracy (that it was copied correct or that the disc itself didn’t have subtle physical damage which gave you something damaged because you can’t play it to verify) and which you have no way of using. You’ll have no way of ripping it or turning it into usable data in future if your disc does go bad because no one else uses this method so there’s no software that will allow you to turn this encrypted blob easily back into a playable movie and to burn it to a new BluRay writable disc would break laws anyway because you’re engaging in duplication and secondly all BluRay authoring (burning) programs are built around building and burning unencrypted video files to a disc not around burning an encrypted blob to a disc (often specific sectors containing specific data must be written to specific parts of the disc to make it playable, something no public program will help you with when trying to bit for bit copy in reverse and which blindly bit for bit copying at low level isn’t likely to achieve).
Everyone else breaks the encryption and dumps a copy of the disc including the AACS keys and certs to prove ownership and you should do the same rather than thinking you’re particularly special or vulnerable. If you’re that much an enemy of the state or media companies they’ll do you just as much for having the encrypted copies and state you had INTENT to break it (and indeed defeated DRM mechanisms on the drive firmware itself first which may be a violation of law in order to get that copy) if they’re trying to make an example out of you because you’ve pissed them off.
In practice no media company is likely to go after someone breaking the encryption while retaining the discs and keeping the copies only for themselves. There’s simply no incentive to harassing paying customers in that way if you’re not uploading the contents or hosting a for-profit Plex or Jellyfin server of the contents or burning bootleg copies of the films. You’d have to go around publicly bragging in your own name about breaking the encryption and pretty much dare them to get you for them to know or care enough to do anything about it short of you otherwise breaking the law as I outlined above.
Blueray have anti-copying built into non-data areas, plus Cinavia DRM on the content most of the time. This means your 1-to-1 copies won’t play.
If you are hoping to make a playable bluray, use one of the tools that reads past both and creates a non-drm image.
Depending on where you live, this likely breaks copywrite, but isn’t illegal.
I know it won’t work with DRM, but my main goal is just to back it up as close to the original as I can. If the disc breaks later, I can burn it to a DVD or Blu-ray and get everything back up and running.
I would look at the tools that the preservation groups use for doing this. The optical media layouts are funky and IIRC using
ddon the block device is not enough to archive a bit-for-bit copy. There are details about the track layout and so on that need to be recorded separately. This is why formats like BIN/CUE exist.Thanks for mentioning the redump wiki. I hadn’t considered others might be working on this for preservation. I’ll need to dive deeper into it.
ddrescue can do a really good job. But for blueray you’ll need a patched firmware.
i was going to extol dd_rescue’s virtues, but my own efforts to do what OP is trying to accomplish proves that they’ll have limited success thanks to drm.
libdvdcss handles DVDs, but like I mentioned, blueray drives need to be patched.
dd is neither the best nor a suitable method (dd is a scalpel not a shovel, use cp or cat). But optical media are tricky either way, with purposedly placed reading errors and stuff. redumper was made for a disc preservation initiative. Does a good job so far for me, but best to use old SATA drives with it. Those between 2010 and 2015 (pre-DRM-crackdown) also don’t need libredrive.
Thanks for mentioning redumper. I’ll check it out. In your experience, after completing the disk dump with redumper, did you have a method to verify the copied data matched the original exactly?
I’d recommend ddrescue over dd for optical media backups only because if you’ve got bad blocks it will try them again at a different speed/angle
Does
ddrescuestill check every sector even if there are no bad blocks? I’m worried it might just copy sectors without verifying, which could mean the backup isn’t a perfect copy.It’s just dd with extra flags enabled for data recovery.
Good to know, I’ll definitely check it out
Just curious, but why?
Can you elaborate on what you are trying to achieve?
@[email protected] nailed the main point. I’m making a legal backup copy of the content to store on DVD/Blu-ray discs in case something goes wrong or the disk get corrupted
It’s ok to break stupid laws. You won’t die
Creating a (usable) backup of a soon failing data carrier should be legal either way. Yeah, a lot of countries have stupid laws there, but as long as you don’t share the data on the internet, you should be fine.
Also to note: to legally watch a DVD, you require either Windows or MacOS, with a supported (proprietary) player software, in most jurisdictions. So, there, no legal DVD for Linux, laws are stupid. And instead of cracking it on each watch, better to just do it once.
there is no legal issue with ripping your own dvd and using it on a jellyfin server or even making dvd copies.
the only restriction is you cant distribute or sell access to them
In Belgium at least it is illegal to circumvent copy protection. This isn’t even exclusive to the US, so I’m not sure where you got that idea from. So it is perfectly legal here to rip a cd from the public library but not necessarily for a Blu-Ray you bought
- https://economie.fgov.be/nl/themas/intellectuele-eigendom/intellectuele-eigendomsrechten/auteursrecht-en-naburige/auteursrechten/gebruik-van-beschermde-werken/privekopie-en-reprografie
- https://blog.iusmentis.com/2017/01/31/mag-dvds-digitaliseren-auteurswet/
Edit: dvd’s can have copy protection so in that case it would depend on the specific dvd
ill be honest i kinda forgot that other places have different laws on it, i know typical american forgetting other places exist.
DVDs have been around long enough that they are going out of style.
How many people have been convicted of backing up their dvds?
deleted by creator
Maybe some kind of hyper-legality? Not “cracking” the code to rip and convert it?
If so this is clever. In the wild event they get into some sort of trouble with copying, they have a bit-for-bit copy proving they own/owned the BluRay instead of a ripped copy.
How would it prove they owned it vs. “they had it in their possession long enough to make a bit for bit copy”?
Not OP, but DVD and BlueRays have a shelf life of 3-5 years. Þey will probably be fine for 10, maybe longer, but mass market products tend to be printed wiþout concern for longevity. I’ve had CDs delaminate; storage conditions definitely play a factor.
Þere is a BD-compatible archival standard called alternatively M-DISC or BDXL which uses different materials and processes and is guarateed for 100 year, with a reasonable expectation of usability wiþin a millenium.
So: OP could be wanting backups in case of accident or loss; or þey want to migrate media from 5y DVD to 100y M-DISC; or maybe every 5y þey reclone þeir entire library, buying þemselves anoþer guaranteed 5ys. Lots of reasons.
Why not strip þe DRM? Scared of the US paramilitary enforcing capitalism? Or þey believe þey’ll have perpetual access to it and it’s too hard. I dunno.
Lots of reasons.
I have CDs from the 80s they are perfectly fine. I think people bought super cheap R/W at some point and found them crappy, but a factor CD/DVD last a very long time
Pressed discs last for decades, but they still fail and should be backed up. I’ve never heard of anyone wanting to keep the DRM before though.
Yeah I was going to say , that’s not right, optical format can survive if the median is taken care of.
Thanks for the explanation. This makes perfect sense.







