This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Feature: Backup & Data Recovery

Using camcorder tapes to back up files

By Rui Lopes on December 20, 2007 (4:00:00 PM)

Share    Print    Comments   

DV and MiniDV camcorder tapes can be used for more than just storing audio and video recordings. If you have a camcorder and a FireWire connection to your computer, you can also use them to store files.

Using DV tapes for data storage has its advantages. A 60-minute tape, in Short Play mode, can realistically store about 10GB of information at a speed transfer of around 3MB/second, while in Long Play mode it should be able to store about 15GB. Besides that, moving files to a DV tape is a good way to hide sensitive data, because few people would look there for that kind of information.

To copy files to the tape and then restore them to the computer, you need two applications. dvconnect, which is installed together with libdv, serves as the interface between the camera and the computer through FireWire, while dvbackup does the actual work. The homepage of dvbackup (or its man page) provides basic instructions on how to do the backups.

Make sure you have all the required modules for dealing with FireWire and camera interaction. I have Ubuntu Studio installed, and on my first attempt to use dvconnect and dvbackup, I was getting device errors even though the command dvgrab -i allowed me to interact with the camera directly and capture video, so I was a bit baffled. When I ran lsmod, I saw that the module "video1394" wasn't loaded automatically. After loading it, the problem was solved.

After making sure all the requirements are met, you're ready to do backups. Insert a tape into the camcorder, rewind it, make sure it's correctly connected to the computer and recognized by the operating system, and press the camcorder's Record button. On the computer's command line, change to the directory where the files you want to copy are, and type:

find . | cpio -o -H crc | dvbackup --prefix=125 | dvconnect -s -b 500

This streams the files in the current directory to the camcorder. When the command is finished you can safely stop the camcorder. It took me 50 seconds to send 2GB to the camera on my first test.

Now check whether you were successful. After stopping the recording, rewind to the beginning. Press Play on the camcorder, and type at the CLI dvconnect | dvbackup -t to check for errors. If all is well, type dvconnect | dvbackup -d | cpio -imV to retrieve the files from the camcorder back to the computer.

You can record files to different parts of the tape, but knowing which files are where can get confusing (unless you create a giant 10GB tar.gz archive with your files and fill all the tape in one go). The parameter --set-backup-title of dvbackup allows you to assign a specific name to each backup, while the --set-picture parameter allows you to assign a picture to each backup, which will show up in the camcorder's LCD screen. The default picture is a penguin, but you can assign your own. Picture files must be in PPM format, and be 90x72 for PAL and 90x60 for NTSC.

Although camcorders already have error-correction built-in, and dvbackup also tries to prevent errors, if you want to backup files in LP mode (which is more error-prone) it's best to also use rsbep, which provides better data protection in case of tape errors or damaged tapes. (It almost goes without saying that you should use quality tapes for the backups; this can eliminate most of the CRC errors.) Version 0.0.5 of rsbep comes with three aditional shell scripts, which make it easier to make a tar backup to tape, restore it to the computer, and verify its integrity.

Instead of using find . to stream the files, you can use, for instance, tar, or better still, star. A good solution for most people concerned with the security and reliability of their backups is to use a mixture of dvbackup, rsbep, star, and gpg.

If you're having problems with backups, I suggest searching dvbackup's forums on SourceForge.net. This post and this, in particular, were useful to me.

The cons and final thoughts

It isn't advisable to make your backups on one camcorder and then attempt recovery using a different one. If you have one that works with dvbackup and the other tools, always use it. Also note that frequent backups will put more wear on the camcorder.

Both dvbackup and rsbep don't seem to be developed anymore. The latest version of both is years old. The version of dvbackup I installed was 0.0.4, while rsbep was still at 0.0.5 -- not very encouraging. I would really like to see someone take this concept and write a complete program out of it, even adding a decent graphical interface on top.

The reason why camcorder tape backup has fallen into oblivion is, however, comprehensible. Not everyone has a camcorder. Besides that, there's the cost issue for removable media. Currently, I can buy a set of five good-quality MiniDV tapes, which give me up to 75GB of storage, for $euro;15. But for €20 I can buy a pack of 100 blank DVDs, which gives me about 450GB. And it's much easier to pop a DVD into a drive to access data selectively than it is to plug a camera into the computer.

There's also the fact that almost every brand of camcorder uses its own specifications for data recording and transmission, which makes it difficult for an application to support every model of camcorder. The only camcorder I keep at home is a modest Canon MV890 (PAL), and it wouldn't work with dvbackup on my Ubuntu Studio system, so I have to borrow a Sony camera from a friend of mine whenever I want to do backups.

Finally, while the bulk of camcorders on the market today still uses DV tapes to record data, it won't be long before camcorders with hard drives or solid-state memory storage mechanisms will take over.

But for the time being, I'm going to continue using Mini DV tapes as an inconspicuous storage solution for sensitive data.

Rui Lopes is a Portuguese Web designer and filmmaker who has a wide range of interests in the technology field.

Share    Print    Comments   

Comments

on Using camcorder tapes to back up files

Note: Comments are owned by the poster. We are not responsible for their content.

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 63.64.41.2] on December 20, 2007 04:42 PM
Yeah, but they're painful to watch. No plot. Terrible acting. Poor sound and cinematography. Just about like any other amateur video production.

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 96.232.58.77] on December 20, 2007 05:21 PM
Wouldn't it cost you alot less to just buy and external hard drive ? unless that is if you have a video recorder laying around.

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 80.175.246.34] on December 20, 2007 05:46 PM
Brilliant idea, must I assume I would be needing a camera with DV IN, though? If the software works around this I could try it..

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 67.88.249.34] on December 20, 2007 05:57 PM
I think your using it for the right reason. Put your goverment secretes on there, it's pretty much useless for a real backup solution unless your trying to be tricky and hide data. With some of the cool encryption techniques it still may have already passed it hay day but at least it's cool and something I would have never thought of!

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 85.186.159.155] on December 21, 2007 07:48 AM
I see that there are a lot of funny people around making jokes about this backup method. Yes, is a weird one and I don't think I will use it. It is too "complicated". I store my data on stacks of external harddisks, so why bother? . But I will try it nevertheless. Although is not practical is pretty damn interesting and good to know about it.Thank you Rui Lopes ! Do you have any other "crazy" ideas ?

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 91.54.54.222] on December 21, 2007 08:50 AM
If you are restricted to only one camcorder, your backups are no worth!
So simply said: Nice try, but this method of backups is not secure.

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 81.45.218.145] on December 24, 2007 01:29 PM
Is Excelent idea!

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 71.89.59.239] on December 24, 2007 03:56 PM
This idea was done YEARS ago on the Commodore Amiga using standard VHS tapes. It was a cool idea and saved me from buying a SCSI DAT drive. But eventually I just bought a SCSI DAT drive cheap. Data integrety on VHS wasn't very good. Nothing new here - move along.

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 80.177.171.58] on December 26, 2007 08:44 AM
I used this a few years ago and found it to work absolutely fine. As a backup solution it may not be the professionals choice but if you have a camcorder with DV IN lying around then you have a low cost option.

As for DVDs as backup solution I wouldn't touch them with a barge pole unless they were DVD-RAM in a cartridge.

If you want proper backup the only solution is to use proper backup tapes. Disks of any tape seem to be too fragile for my liking.

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 70.103.89.202] on December 29, 2007 10:12 AM
Duh,

It must be a slow news day.

JJMacey
www.jjmacey.net

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 82.173.121.21] on December 29, 2007 10:15 AM
For USD 100 you buy a 500GB external hard disk these days. Why on earth would you seriously be screwing around with your video camera as a digital data storage medium????????

#

Using camcorder tapes to back up files

Posted by: Anonymous [ip: 209.193.84.225] on December 29, 2007 10:14 PM
Obviously if you're syaing how cheap external hard drives are, you dont understand the theory behind backing up to tape, not only that, but come on, why not just for the cool factor, plus if you ever have the po-po's come and raid you're house, you've got a secret stash of data.

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya