[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dd to /dev/tape Advantages ?






From: Thedore Knab <tjk@annapolislinux.org>
To: debian-user@lists.debian.org
Subject: dd to /dev/tape Advantages ?
Date: Fri, 11 Jan 2002 02:23:57 -0500

For backups,

I understand the disadvantages and simplicity of using tar.

I also like using dump now that I understand it.

I was wondering if anyone was using dd to make tape backups.

What are the advantages/ disadvantages.

i.e.

Using dd to write to Tape (raw dump)
-----------------------------------------
mt -f /dev/nst0 rewind
dd if=/proc/kcore of=/dev/nst0 bs=20480 count=10
mt -f /dev/nst0 status
mt -f /dev/nst0 rewind
dd if=/dev/nst0 of=/tmp/rwtest.dat bs=20480
ls -l /tmp/rwtest.dat

Ted Knab


To backup harddrive filesystems, it would make restoration's a bit tricky in that the partition sizes would have to be the exactly the same. I've never tried it, but running fsck on a filesystem where the size of the dd written to the disk was different than the partition, would be interesting.



_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



Reply to: