How to backup your DVDs

5 September 2007

I have an office-style chair next to my desk, it has five little wheels at the bottom. I was sitting in it today and heard a gentle crunch noise coming from somewhere. It turned out that I had accidentally ran over a DVD and cracked it.

I had recently bought a small pile of new DVDs, and they were sitting on my desk in their shrink-wrap. The cracked DVD made me decide to keep backups, so I started with them. I am using the dvdbackup utility. The idea is not to rip the DVD to a MPEG or whatever but to backup the whole DVD to disk, the resulting files can be burned back to a new DVD with mkisofs if I get another broken DVD.

Of course, there is nothing stopping you from playing the resulting files from the hard-drive, but ripping it to a single file in a lossy format would be a far more efficient way of creating files for the software player, you would end up with a file as a few hundred of MB, rather than 7 GB. However, if you want to keep the subtitles and so on, and I do as these are mostly foreign language films, then this is one approach to take.

1. Get dvdbackup

On Gentoo you can use:

``emerge dvdbackup ``

System Message: WARNING/2 (<string>, line 24); backlink

Inline literal start-string without end-string.

On Debain/Ubuntu, you can use Synaptic or use:

``apt-get install dvdbackup ``

System Message: WARNING/2 (<string>, line 28); backlink

Inline literal start-string without end-string.

2. Backup DVD

Now we mant to backup the whole DVD to the current directory:

dvdbackup -M -i /dev/dvd -o ./

-M means that we want to backup the whole DVD, -i specifies the input directory, while -o specifies the output directory.

If you want to give the backup a specific title, then use the -n to specify the title.

Conclusion

That's it really, dvdbackup has a lot more options to give a greater level of control, for example you might just want certain chapters, but this is far enough for me! Read the manpage for more details on those more advanced options.

The cost of storage this way is relatively expensive of course. I did some quick calculations and we can say that hard drive storage currently costs five times more than DVD storage (you also need free hard drive ports). We may be able to claw back some of the difference through compressing the backups, after all the idea is that you do not need them that often.

So that was my approach, how do you backup your DVDs?

1 Ivo Emanuel Goncalves says...

> So that was my approach, how do you backup your DVDs?

Well, K3B does that for me. Since it does a lot of other things too, it's a nifty tool, and I like to have it around.

Posted at 12:45 a.m. on September 5, 2007


2 Christer Edwards says...

I have tried k3b, k9copy and dvd::rip and none of them have every worked for me. I have a large collection I would like to backup but each of these programs b0rks when I try to use them. If anyone has any tips, links to good tutorials, etc please find me on my blog link and let me know.

Posted at 3:10 a.m. on September 5, 2007


3 numerodix says...

> So that was my approach, how do you backup your DVDs?

I call it undvd: http://www.matusiak.eu/numerodix/blog/index.php/2007/01/30/undvd-dvd-ripping- made-easy/

Posted at 8:30 a.m. on September 5, 2007


4 kerry walper says...

I have used k3b. It is one of the best. If you have libdvdcss2 as well as Dvdauthor, dvdbackup, dvdrip, dvdrtools, dvd+rw-tools, k9copy, lame, lame- extras, libavifile-0.7c2, libdvdnav4, libdvdplay0, libdvdread3, libmad0, libxine-extracodecs, mencoder, qdvdauthor, transcode and vamps then k3b can pretty much do it all on it's own. K3b has taken a 7 gb dvd and put it on a regular dvd blank of around 4 gb. The quality was great. Just choose force when it asks for a dual layer blank. Other than that a really good little dvd back up tool is Shrinkta. I use MEPIS but these are available for debian in general I'm sure.

Posted at 8:31 p.m. on March 23, 2008


5 Rob Ward says...

This is a nince post but I find the easiest way to do this is to use DD, yes good old DD

just rip the entire disk into an image file and you have a perfect backup. You can even pass the image through gzip to compress it losslessly so your 8gig dvd might shrink to half it's size or even less.

If anyone is interested in trying this out there are instruction's on my website and dozens of others on the internet, my site is

http://rob-ward.co.uk/blog/ddbackup.php

feel free to give it a try.

P.S. I hope that it's OK to place a link on here if not feel free to remove it.

Posted at 9:22 p.m. on November 22, 2008


6 Takla says...

...and if your DVD is already scratched or otherwise damaged (not smashed!) and doesn't play well (or at all) and regular methods fail to copy it then try GNU ddrescue

ddrescue infile outfile

The infile can be a block device so it needs to be run as root. I have rescued some apparently defunct discs with:

# ddrescue /dev/scd0 my_valuable_disc.iso

Therev are a few options but it can often be as simple as that.

Posted at 8:07 a.m. on February 19, 2009


What do you have to say?

Show Editing Help

About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Zeth

November 29, 2009
Hi Jordan, yes that URL is gone now. I have a new contact form on this site.
Python CGI contact forms

Jordan

November 29, 2009
Zeth attention! Your form, http://zeth.me.uk/contact/, is not working The explorer says connecting ..but nothing happens Sorry for my poor English: I am Spanish Regards
Python CGI contact forms

Jordan

November 26, 2009
Sorry: tell me , not tellme (I'm spaniard) And http://zeth.me.uk/contact/ don't work
You got the touch, you got the power

David Jones

November 25, 2009
Your mad skillz are too l33t! for me. I specifically switched to Google Reader so that I could show people what blogs I read. But I couldn't work out how ...
How to find the fashionable blogs quickly

Brian R. Hickey

November 20, 2009
Symantec picked it up too.
How to bring down Internet Explorer with six words

Zeth

November 17, 2009
Thanks djm, I am the moose here. Christian, assuming one actually does Internationalise the countries, it should still work I guess, as the gettext stuff will happen before the list ...
Countries in Django

Phillip Temple

November 17, 2009
Good start, but: a) wouldn't I want None back rather than 'ZZ'? b) why not add a 'shortcut' boolean, then prepend flagged fields (plus usual '-----' separator) to the actual ...
Countries in Django

djm

November 17, 2009
Am I being a moose or did you mean: from whatever.countries import CountryField instead of from whatever.countries import CharField ? Good post though, cheers.
Countries in Django

Christian Joergensen

November 17, 2009
Wouldn't the ordering get messed up after i18n?
Countries in Django

Steve - Electronic Cigarettes Fan

November 17, 2009
Very well done. Is your blog just you writing? Nicely done, Steven.
Blogger vs Wordpress

vetetix

November 15, 2009
Sorry to bother you nearly two years after you wrote this blog article, but I can't manage to find how to modify an existing field. I am trying to change ...
Three Useful Python Bindings - ClamAV, Apt and Evolution

Manju

November 4, 2009
I am transferring some files using psftp to other device's FAT partition. But the filestamp of the file being transferred is modified to that of FAT device, after the transfer. ...
PuTTY Series: Using PSFTP

iki

November 2, 2009
or simpler: socket.gethostbyname_ex(socket.gethostname())[2]
How to find out your IP address in Python

iki

November 2, 2009
local_ip = set([ i[4][0] for i in socket.getaddrinfo(socket.gethostname(), None) if i[0] == 2 ])
How to find out your IP address in Python

Fred

November 2, 2009
testing rst ------------- - point 1
An Introduction to ReStructuredText

Ano

October 27, 2009
"You simply found the license of the StumbleUpon Toolbar for Internet Explorer." That's possible. I've got some more interesting information to add. Firstly, go to this page: https://addons.mozilla.org/en-US/firefox/addon/138 - this ...
Are your Firefox extensions proprietary software?

Ken

October 21, 2009
Stumbled in here at lunch. This is the best find of the week. Thanks.
Three classic command line tips

Jim

October 19, 2009
Thanks for the rtsp:// post - that's something that has been bugging me for a while!
Three classic command line tips

Zeth

October 18, 2009
Thanks for the comments guys. Great to see the all the gang are still here!
Three classic command line tips

Bubba

October 18, 2009
Is there any way psftp can return the true transfer rates oberved during the actual transfer?
PuTTY Series: Using PSFTP